interface HasForms (View source)

Methods

void
dispatchFormEvent(...$args)

No description

string|null
getActiveFormLocale()

No description

TemporaryUploadedFile|null
getComponentFileAttachment(string $statePath)

No description

string|null
getComponentFileAttachmentUrl(string $statePath)

No description

array
getSelectOptionLabels(string $statePath)

No description

string|null
getSelectOptionLabel(string $statePath)

No description

array
getSelectOptions(string $statePath)

No description

array
getSelectSearchResults(string $statePath, string $search)

No description

array|null
getUploadedFileUrls(string $statePath)

No description

void
removeUploadedFile(string $statePath, string $fileKey)

No description

void
reorderUploadedFiles(string $statePath, array $fileKeys)

No description

validate(array|null $rules = null, array $messages = [], array $attributes = [])

No description

Details

void dispatchFormEvent(...$args)

No description

Parameters

...$args

Return Value

void

string|null getActiveFormLocale()

No description

Return Value

string|null

TemporaryUploadedFile|null getComponentFileAttachment(string $statePath)

No description

Parameters

string $statePath

Return Value

TemporaryUploadedFile|null

string|null getComponentFileAttachmentUrl(string $statePath)

No description

Parameters

string $statePath

Return Value

string|null

array getSelectOptionLabels(string $statePath)

No description

Parameters

string $statePath

Return Value

array

string|null getSelectOptionLabel(string $statePath)

No description

Parameters

string $statePath

Return Value

string|null

array getSelectOptions(string $statePath)

No description

Parameters

string $statePath

Return Value

array

array getSelectSearchResults(string $statePath, string $search)

No description

Parameters

string $statePath
string $search

Return Value

array

array|null getUploadedFileUrls(string $statePath)

No description

Parameters

string $statePath

Return Value

array|null

void removeUploadedFile(string $statePath, string $fileKey)

No description

Parameters

string $statePath
string $fileKey

Return Value

void

void reorderUploadedFiles(string $statePath, array $fileKeys)

No description

Parameters

string $statePath
array $fileKeys

Return Value

void

validate(array|null $rules = null, array $messages = [], array $attributes = [])

No description

Parameters

array|null $rules
array $messages
array $attributes