HasActions
trait HasActions (View source)
Properties
string[] | $mountedTableActions | ||
array<string,array<string,mixed>> | $mountedTableActionsData | ||
array<string,array<string,mixed>> | $mountedTableActionsArguments | ||
int | $mountedTableActionRecord | ||
protected Model|null | $cachedMountedTableActionRecord | ||
protected int|string|null | $cachedMountedTableActionRecordKey | ||
mixed | $defaultTableAction | ||
mixed | $defaultTableActionArguments | ||
mixed | $defaultTableActionRecord | ||
Form | $mountedTableActionForm |
Methods
void
mixed
callMountedTableAction(array $arguments = [])
No description
void
mountedTableActionRecord(int|string|null $record)
No description
mixed
mountTableAction(string $name, string|null $record = null, array $arguments = [])
No description
void
replaceMountedTableAction(string $name, string|null $record = null, array $arguments = [])
No description
bool
mountedTableActionShouldOpenModal(Action|null $mountedAction = null)
No description
bool
mountedTableActionHasForm(Action|null $mountedAction = null)
No description
Action|null
getMountedTableAction()
No description
Form|null
getMountedTableActionForm(Action|null $mountedAction = null)
No description
int|string|null
getMountedTableActionRecordKey()
No description
Model|null
getMountedTableActionRecord()
No description
string|null
popMountedTableAction()
No description
void
resetMountedTableActionProperties()
No description
void
unmountTableAction(bool $shouldCancelParentActions = true, bool $shouldCloseModal = true)
No description
void
cacheMountedTableActionForm(Action|null $mountedAction = null)
No description
void
closeTableActionModal()
No description
void
openTableActionModal()
No description
array
string|null
mountedTableActionInfolist()
No description
Details
protected void
configureTableAction(Action $action)
No description
mixed
callMountedTableAction(array $arguments = [])
No description
void
mountedTableActionRecord(int|string|null $record)
No description
mixed
mountTableAction(string $name, string|null $record = null, array $arguments = [])
No description
void
replaceMountedTableAction(string $name, string|null $record = null, array $arguments = [])
No description
bool
mountedTableActionShouldOpenModal(Action|null $mountedAction = null)
No description
bool
mountedTableActionHasForm(Action|null $mountedAction = null)
No description
Action|null
getMountedTableAction()
No description
Form|null
getMountedTableActionForm(Action|null $mountedAction = null)
No description
int|string|null
getMountedTableActionRecordKey()
No description
Model|null
getMountedTableActionRecord()
No description
protected string|null
popMountedTableAction()
No description
protected void
resetMountedTableActionProperties()
No description
void
unmountTableAction(bool $shouldCancelParentActions = true, bool $shouldCloseModal = true)
No description
protected void
cacheMountedTableActionForm(Action|null $mountedAction = null)
No description
protected void
closeTableActionModal()
No description
protected void
openTableActionModal()
No description
protected array
getTableActions()
deprecated
deprecated
No description
protected string|null
getTableActionsColumnLabel()
deprecated
deprecated
No description
Infolist
mountedTableActionInfolist()
No description