HasActions
trait HasActions (View source)
Traits
Properties
$mountedFormComponentAction | from HasFormComponentActions | ||
$mountedFormComponentActionArguments | from HasFormComponentActions | ||
$mountedFormComponentActionData | from HasFormComponentActions | ||
$mountedFormComponentActionComponent | from HasFormComponentActions | ||
ComponentContainer | $mountedFormComponentActionForm | from HasFormComponentActions | |
array | $componentFileAttachments | from InteractsWithForms | |
protected array|null | $cachedForms | from InteractsWithForms | |
protected bool | $hasCachedForms | from InteractsWithForms | |
protected bool | $isCachingForms | from InteractsWithForms | |
protected bool | $hasModalViewRendered | from InteractsWithForms | |
$mountedAction | |||
$mountedActionData | |||
protected array|null | $cachedActions | ||
ComponentContainer | $mountedActionForm |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
protected bool
hasMountedFormComponentAction()
No description
protected ComponentContainer|null
getMountedFormComponentActionForm()
No description
callMountedFormComponentAction(string|null $arguments = null)
No description
Action|Closure|null
getMountedFormComponentAction()
No description
mountFormComponentAction(string $component, string $name, array $arguments = [])
No description
Component|null
getMountedFormComponentActionComponent()
No description
protected array
getFormComponentActions()
No description
__get($property)
No description
protected View|null
getModalViewOnce()
No description
void
dispatchFormEvent(...$args)
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
void
deleteUploadedFile(string $statePath, string $fileKey)
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($rules = null, $messages = [], $attributes = [])
No description
protected void
onValidationError(ValidationException $exception)
No description
validateOnly($field, $rules = null, $messages = [], $attributes = [])
No description
string|null
getActiveFormLocale()
No description
protected void
callBeforeAndAfterSyncHooks($name, $value, $callback)
No description
protected ComponentContainer|null
cacheForm(string $name, ComponentContainer|Closure|null $form)
No description
protected array
cacheForms()
No description
protected array
getUncachedForms()
No description
protected array
getTraitForms()
No description
protected bool
hasCachedForm($name)
No description
protected ComponentContainer|null
getCachedForm($name)
No description
protected array
getCachedForms()
No description
protected Model|string|null
getFormModel()
No description
protected array
getFormSchema()
No description
protected array
getForms()
No description
protected string|null
getFormContext()
No description
protected string|null
getFormStatePath()
No description
protected array
getRules()
No description
protected array
getValidationAttributes()
No description
protected ComponentContainer
makeForm()
No description
callMountedAction(string|null $arguments = null)
No description
mountAction(string $name)
No description
array
getCachedActions()
No description
protected void
cacheActions()
No description
protected void
configureAction(Action $action)
No description
Action|null
getMountedAction()
No description
protected array
getHasActionsForms()
No description
ComponentContainer|null
getMountedActionForm()
No description
protected Model|string|null
getMountedActionFormModel()
No description
Action|null
getCachedAction(string $name)
No description
protected array
getActions()
No description