trait HasFormComponentActions (View source)

Properties

string[] $mountedFormComponentActions
array<string,array<string,mixed>> $mountedFormComponentActionsArguments
array<string,array<string,mixed>> $mountedFormComponentActionsData
string[] $mountedFormComponentActionsComponents
ComponentContainer $mountedFormComponentActionForm

Methods

mixed
callMountedFormComponentAction(array $arguments = [])

No description

mixed
mountFormComponentAction(string $component, string $name, array $arguments = [])

No description

void
cacheMountedFormComponentActionForm(Action|null $mountedAction = null)

No description

bool
mountedFormComponentActionShouldOpenModal(Action|null $mountedAction = null)

No description

bool
mountedFormComponentActionHasForm(Action|null $mountedAction = null)

No description

Action|null
getMountedFormComponentAction(int|null $actionNestingIndex = null)

No description

Form|null
getMountedFormComponentActionForm(int|null $actionNestingIndex = null, Action|null $mountedAction = null)

No description

Component|null
getMountedFormComponentActionComponent(int|null $actionNestingIndex = null)

No description

string|null
void
unmountFormComponentAction(bool $shouldCancelParentActions = true, bool $shouldCloseModal = true)

No description

void
closeFormComponentActionModal(bool $shouldCloseModal = true)

No description

void
openFormComponentActionModal()

No description

Details

mixed callMountedFormComponentAction(array $arguments = [])

No description

Parameters

array $arguments

Return Value

mixed

mixed mountFormComponentAction(string $component, string $name, array $arguments = [])

No description

Parameters

string $component
string $name
array $arguments

Return Value

mixed

protected void cacheMountedFormComponentActionForm(Action|null $mountedAction = null)

No description

Parameters

Action|null $mountedAction

Return Value

void

bool mountedFormComponentActionShouldOpenModal(Action|null $mountedAction = null)

No description

Parameters

Action|null $mountedAction

Return Value

bool

bool mountedFormComponentActionHasForm(Action|null $mountedAction = null)

No description

Parameters

Action|null $mountedAction

Return Value

bool

Action|null getMountedFormComponentAction(int|null $actionNestingIndex = null)

No description

Parameters

int|null $actionNestingIndex

Return Value

Action|null

protected Form|null getMountedFormComponentActionForm(int|null $actionNestingIndex = null, Action|null $mountedAction = null)

No description

Parameters

int|null $actionNestingIndex
Action|null $mountedAction

Return Value

Form|null

Component|null getMountedFormComponentActionComponent(int|null $actionNestingIndex = null)

No description

Parameters

int|null $actionNestingIndex

Return Value

Component|null

protected void resetMountedFormComponentActionProperties()

No description

Return Value

void

protected string|null popMountedFormComponentAction()

No description

Return Value

string|null

void unmountFormComponentAction(bool $shouldCancelParentActions = true, bool $shouldCloseModal = true)

No description

Parameters

bool $shouldCancelParentActions
bool $shouldCloseModal

Return Value

void

protected void closeFormComponentActionModal(bool $shouldCloseModal = true)

No description

Parameters

bool $shouldCloseModal

Return Value

void

protected void openFormComponentActionModal()

No description

Return Value

void