class Medias extends TwillFormComponent (View source)

Properties

Model|null $item from  TwillFormComponent
array $form_fields from  TwillFormComponent
string|null $formModuleName from  TwillFormComponent
string|null $routePrefix from  TwillFormComponent

Methods

__construct(string $name, string $label, bool $renderForBlocks = false, bool $renderForModal = false, bool $translated = false, bool $required = false, string|null $note = '', mixed $default = null, bool $disabled = false, bool $readOnly = false, bool $inModal = false, int $max = 1, string|null $fieldNote = null, bool $withAddInfo = true, bool $withVideoUrl = true, bool $withCaption = true, int|null $altTextMaxLength = null, int|null $captionMaxLength = null, array $extraMetadatas = [], int $widthMin = 0, int $heightMin = 0, bool $buttonOnTop = false, bool $activeCrop = true)

No description

string
formFieldName(bool $asAttributes = false, string|null $customName = null)

No description

View
render()

No description

Details

__construct(string $name, string $label, bool $renderForBlocks = false, bool $renderForModal = false, bool $translated = false, bool $required = false, string|null $note = '', mixed $default = null, bool $disabled = false, bool $readOnly = false, bool $inModal = false, int $max = 1, string|null $fieldNote = null, bool $withAddInfo = true, bool $withVideoUrl = true, bool $withCaption = true, int|null $altTextMaxLength = null, int|null $captionMaxLength = null, array $extraMetadatas = [], int $widthMin = 0, int $heightMin = 0, bool $buttonOnTop = false, bool $activeCrop = true)

No description

Parameters

string $name
string $label
bool $renderForBlocks
bool $renderForModal
bool $translated
bool $required
string|null $note
mixed $default
bool $disabled
bool $readOnly
bool $inModal
int $max
string|null $fieldNote
bool $withAddInfo
bool $withVideoUrl
bool $withCaption
int|null $altTextMaxLength
int|null $captionMaxLength
array $extraMetadatas
int $widthMin
int $heightMin
bool $buttonOnTop
bool $activeCrop

string formFieldName(bool $asAttributes = false, string|null $customName = null)

No description

Parameters

bool $asAttributes
string|null $customName

Return Value

string

View render()

No description

Return Value

View