class Files 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, string|null $note = null, int $max = 1, int $filesizeMax = 0, bool $buttonOnTop = false, string|null $itemLabel = null, string|null $fieldNote = null)

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, string|null $note = null, int $max = 1, int $filesizeMax = 0, bool $buttonOnTop = false, string|null $itemLabel = null, string|null $fieldNote = null)

No description

Parameters

string $name
string $label
bool $renderForBlocks
bool $renderForModal
string|null $note
int $max
int $filesizeMax
bool $buttonOnTop
string|null $itemLabel
string|null $fieldNote

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