class MorphManyRelationManager extends HasManyRelationManager (View source)

deprecated Use `RelationManager` instead, defining actions on the `$table`.

Traits

Properties

$tableRecordsPerPage from  CanPaginateRecords
protected int $defaultTableRecordsPerPageSelectOption from  CanPaginateRecords
bool $isTableReordering from  CanReorderRecords
$tableColumnSearchQueries from  CanSearchRecords
$tableSearchQuery from  CanSearchRecords
array $selectedTableRecords from  CanSelectRecords
protected bool $shouldSelectCurrentPageOnly from  CanSelectRecords
protected Collection $cachedSelectedTableRecords from  CanSelectRecords
$tableSortColumn from  CanSortRecords
$tableSortDirection from  CanSortRecords
array $toggledTableColumns from  CanToggleColumns
ComponentContainer $toggleTableColumnForm from  CanToggleColumns
bool $isTableLoaded from  CanDeferLoading
$mountedTableAction from  HasActions
$mountedTableActionData from  HasActions
$mountedTableActionRecord from  HasActions
protected array $cachedTableActions from  HasActions
protected array $cachedTableColumnActions from  HasActions
protected Model|null $cachedMountedTableActionRecord from  HasActions
protected $cachedMountedTableActionRecordKey from  HasActions
ComponentContainer $mountedTableActionForm from  HasActions
$mountedTableBulkAction from  HasBulkActions
$mountedTableBulkActionData from  HasBulkActions
protected array $cachedTableBulkActions from  HasBulkActions
ComponentContainer $mountedTableBulkActionForm from  HasBulkActions
protected array $cachedTableColumns from  HasColumns
protected array $cachedTableColumnsLayout from  HasColumns
protected Component|null $cachedTableCollapsibleColumnsLayout from  HasColumns
protected bool $hasTableColumnsLayout from  HasColumns
protected array $cachedTableEmptyStateActions from  HasEmptyState
protected array $cachedTableFilters from  HasFilters
$tableFilters from  HasFilters
ComponentContainer $tableFiltersForm from  HasFilters
protected array $cachedTableHeaderActions from  HasHeader
protected bool $allowsDuplicates from  HasRecords
protected Paginator|null $records from  HasRecords
$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
protected bool $hasMounted from  InteractsWithTable
protected Table $table from  InteractsWithTable
Model $ownerRecord from  RelationManager
string|null $pageClass from  RelationManager
static protected string|null $recordTitleAttribute from  RelationManager
static protected string $relationship from  RelationManager
static protected string|null $inverseRelationship from  RelationManager
static protected string $view from  RelationManager
static protected string|null deprecated $label from  RelationManager
static protected string|null deprecated $pluralLabel from  RelationManager
static protected string|null $modelLabel from  RelationManager
static protected string|null $pluralModelLabel from  RelationManager
static protected string|null $title from  RelationManager
static protected bool $shouldAuthorizeWithGate from  RelationManager
static protected bool $shouldIgnorePolicies from  RelationManager
protected Form|null $resourceAssociateForm from  CanAssociateRecords
static protected bool deprecated $canAssociateAnother from  CanAssociateRecords
static protected bool deprecated $shouldPreloadAssociateFormRecordSelectOptions from  CanAssociateRecords
static protected bool deprecated $hasAssociateAction from  CanAssociateRecords
static protected bool deprecated $canCreateAnother from  CanCreateRecords
static protected bool deprecated $hasDissociateAction from  CanDissociateRecords
static protected bool deprecated $hasDissociateBulkAction from  CanDissociateRecords
static protected bool deprecated $hasViewAction from  CanViewRecords

Methods

void
notify(string $status, string $message, bool $isAfterRedirect = false)

No description

bool
isTableStriped()

No description

void
updatedTableRecordsPerPage()

No description

Paginator
paginateTableQuery(Builder $query)

No description

int
getTableRecordsPerPage()

No description

bool
isTablePaginationEnabled()

No description

string
getTablePaginationPageName()

No description

string
getTablePerPageSessionKey()

No description

void
resetPage(string|null $pageName = null)

No description

string|null
getTablePollingInterval()

No description

void
reorderTable(array $order)

No description

void
toggleTableReordering()

No description

bool
isTableReordering()

No description

bool
isTableReorderable()

No description

string|null
getTableReorderColumn()

No description

bool
isTableSearchable()

No description

bool
isTableSearchableByColumn()

No description

void
updatedTableSearchQuery()

No description

void
updatedTableColumnSearchQueries($value = null, $key = null)

No description

Builder
applySearchToTableQuery(Builder $query)

No description

Builder
applyColumnSearchToTableQuery(Builder $query)

No description

Builder
applyGlobalSearchToTableQuery(Builder $query)

No description

string
getTableSearchQuery()

No description

array
castTableColumnSearchQueries(array $searchQueries)

No description

array
getTableColumnSearchQueries()

No description

bool
hasTableColumnSearches()

No description

string
getTableSearchSessionKey()

No description

string
void
deselectAllTableRecords()

No description

array
int
getAllTableRecordsCount()

No description

Collection
getSelectedTableRecords()

No description

bool
isTableSelectionEnabled()

No description

string
bool
shouldSelectCurrentPageOnly()

No description

void
sortTable(string|null $column = null, string|null $direction = null)

No description

string|null
getTableSortColumn()

No description

string|null
getTableSortDirection()

No description

string|null
getDefaultTableSortColumn()

No description

string|null
getDefaultTableSortDirection()

No description

void
updatedTableSort()

No description

Builder
applySortingToTableQuery(Builder $query)

No description

Builder
applyDefaultSortingToTableQuery(Builder $query, string $sortColumn, string $sortDirection)

No description

string
getTableSortSessionKey()

No description

bool
void
updatedToggledTableColumns()

No description

bool
hasToggleableTableColumns()

No description

array
int|array
string|null
string|null
bool
isTableColumnToggledHidden(string $name)

No description

bool
isTableLoadingDeferred()

No description

void
loadTable()

No description

bool
isTableLoaded()

No description

void
cacheTableActions()

No description

void
cacheTableColumnActions()

No description

void
configureTableAction(Action $action)

No description

callMountedTableAction(string|null $arguments = null)

No description

void
mountedTableActionRecord($record)

No description

mountTableAction(string $name, string|null $record = null)

No description

array
getCachedTableActions()

No description

array
getCachedTableColumnActions()

No description

Action|null
getMountedTableAction()

No description

ComponentContainer|null
getMountedTableActionForm()

No description

Model|null
getMountedTableActionRecord()

No description

Action|null
getCachedTableAction(string $name)

No description

Action|null
findTableAction(string $name)

No description

array
getTableActions()

No description

string|null
getTableActionsPosition()

No description

string|null
getTableActionsColumnLabel()

No description

void
cacheTableBulkActions()

No description

void
configureTableBulkAction(BulkAction $action)

No description

callMountedTableBulkAction(string|null $arguments = null)

No description

mountTableBulkAction(string $name, array $selectedRecords)

No description

array
getCachedTableBulkActions()

No description

BulkAction|null
getMountedTableBulkAction()

No description

ComponentContainer|null
BulkAction|null
getCachedTableBulkAction(string $name)

No description

array
getTableBulkActions()

No description

Closure|null
isTableRecordSelectable()

No description

void
cacheTableColumns()

No description

callTableColumnAction(string $name, string $recordKey)

No description

array
getCachedTableColumns()

No description

array
getCachedTableColumnsLayout()

No description

Component|null
bool
hasTableColumnsLayout()

No description

Column|null
getCachedTableColumn(string $name)

No description

mixed
updateTableColumnState(string $column, string $record, $input)

No description

array
getTableColumns()

No description

View|null
getTableContent()

No description

array|null
getTableContentGrid()

No description

View|null
getTableContentFooter()

No description

void
cacheTableEmptyStateActions()

No description

array
Action|null
getCachedTableEmptyStateAction(string $name)

No description

View|null
getTableEmptyState()

No description

array
getTableEmptyStateActions()

No description

string|null
string|null
getTableEmptyStateHeading()

No description

string|null
getTableEmptyStateIcon()

No description

void
cacheTableFilters()

No description

array
getCachedTableFilters()

No description

BaseFilter|null
getCachedTableFilter(string $name)

No description

bool
isTableFilterable()

No description

void
updatedTableFilters()

No description

void
removeTableFilter(string $filter, string|null $field = null)

No description

void
removeTableFilters()

No description

void
resetTableFiltersForm()

No description

Builder
applyFiltersToTableQuery(Builder $query)

No description

array
getTableFilters()

No description

array|null
getTableFilterState(string $name)

No description

string
parseFilterName(string $name)

No description

int|array
getTableFiltersFormColumns()

No description

string|null
getTableFiltersFormMaxHeight()

No description

array
getTableFiltersFormSchema()

No description

string|null
getTableFiltersFormWidth()

No description

string|null
getTableFiltersLayout()

No description

string
getTableFiltersSessionKey()

No description

bool
void
cacheTableHeaderActions()

No description

array
getCachedTableHeaderActions()

No description

Action|null
getCachedTableHeaderAction(string $name)

No description

Htmlable|null
getTableDescription()

No description

Htmlable|null
getTableHeader()

No description

array
getTableHeaderActions()

No description

Htmlable|Closure|null
getTableHeading()

No description

bool
allowsDuplicates()

No description

Builder
getFilteredTableQuery()

No description

Paginator
hydratePivotRelationForTableRecords(Paginator $records)

No description

Paginator
getTableRecords()

No description

Model|null
resolveTableRecord(string|null $key)

No description

string
getTableModel()

No description

Model|null
getTableRecord(string|null $key)

No description

string
getTableRecordKey(Model $record)

No description

string
getTableRecordTitle(Model $record)

No description

string
getTableModelLabel()

No description

string
getTablePluralModelLabel()

No description

Closure|null
getTableRecordActionUsing()

No description

string|null
getTableRecordAction() deprecated

No description

Closure|null
getTableRecordUrlUsing()

No description

ComponentContainer|null
callMountedFormComponentAction(string|null $arguments = null)

No description

Action|Closure|null
mountFormComponentAction(string $component, string $name, array $arguments = [])

No description

array
getFormComponentActions()

No description

__get($property)

No description

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

void
onValidationError(ValidationException $exception)

No description

validateOnly($field, $rules = null, $messages = [], $attributes = [])

No description

string|null
getActiveFormLocale()

No description

void
callBeforeAndAfterSyncHooks($name, $value, $callback)

No description

ComponentContainer|null
cacheForm(string $name, ComponentContainer|Closure|null $form)

No description

array
cacheForms()

No description

array
getUncachedForms()

No description

array
getTraitForms()

No description

bool
hasCachedForm($name)

No description

ComponentContainer|null
getCachedForm($name)

No description

array
getCachedForms()

No description

Model|string|null
getFormModel()

No description

array
getFormSchema()

No description

array
getForms()

No description

string|null
getFormContext()

No description

string|null
getFormStatePath()

No description

array
getRules()

No description

array
getValidationAttributes()

No description

void
bootedInteractsWithTable()

No description

void
mountInteractsWithTable()

No description

getCachedTable()

No description

getTable()

No description

string|null
string
getIdentifiedTableQueryStringPropertyNameFor(string $property)

No description

array
getInteractsWithTableForms()

No description

string|null
getActiveTableLocale()

No description

array
getTableForms()

No description

Relation
getTableQuery()

No description

Relation
selectPivotDataInQuery(Relation $query)

No description

getResourceForm(int|null $columns = null, bool $isDisabled = false)

No description

getBaseResourceForm(int|null $columns = null, bool $isDisabled = false)

No description

void
configureAssociateAction(AssociateAction $action)

No description

void
configureAttachAction(AttachAction $action)

No description

array
getCreateFormSchema()

No description

void
configureCreateAction(CreateAction $action)

No description

void
configureDeleteAction(DeleteAction $action)

No description

void
configureDetachAction(DetachAction $action)

No description

void
array
getEditFormSchema()

No description

void
configureEditAction(EditAction $action)

No description

void
configureReplicateAction(ReplicateAction $action)

No description

void
configureRestoreAction(RestoreAction $action)

No description

array
getViewFormSchema()

No description

void
configureViewAction(ViewAction $action)

No description

void
void
void
callHook(string $hook)

No description

bool
can(string $action, Model|null $record = null)

No description

static void
authorizeWithGate(bool $condition = true)

No description

static void
ignorePolicies(bool $condition = true)

No description

static bool
shouldAuthorizeWithGate()

No description

static bool
shouldIgnorePolicies()

No description

static bool
canViewForRecord(Model $ownerRecord)

No description

static Form
form(Form $form)

No description

string
getInverseRelationshipName()

No description

Model
getOwnerRecord()

No description

static Table
table(Table $table)

No description

static string
getRelationshipName()

No description

static string
getTitle()

No description

static string
getTitleForRecord(Model $ownerRecord)

No description

static string|null
getRecordTitleAttribute()

No description

static string|null
getRecordTitle(Model|null $record)

No description

static string|null
getRecordLabel() deprecated

No description

static string
getModelLabel()

No description

static string|null
getPluralRecordLabel() deprecated

No description

static string
getPluralModelLabel()

No description

string
getRelatedModel()

No description

Builder
getRelationship()

No description

Builder
getInverseRelationshipFor(Model $record)

No description

View
render()

No description

bool
canAssociate()

No description

bool
canAttach()

No description

bool
canCreate()

No description

bool
canDelete(Model $record)

No description

bool
canDeleteAny()

No description

bool
canDetach(Model $record)

No description

bool
canDetachAny()

No description

bool
canDissociate(Model $record)

No description

bool
canDissociateAny()

No description

bool
canEdit(Model $record)

No description

bool
canForceDelete(Model $record)

No description

bool
canForceDeleteAny()

No description

bool
canReorder()

No description

bool
canReplicate(Model $record)

No description

bool
canRestore(Model $record)

No description

bool
canRestoreAny()

No description

bool
canView(Model $record)

No description

array
getViewData()

No description

bool
hasAssociateAction() deprecated

No description

static bool
canAssociateAnother() deprecated

No description

static void
disableAssociateAnother() deprecated

No description

static Form
associateForm(Form $form) deprecated

No description

getResourceAssociateForm() deprecated

No description

static Select
getAssociateFormRecordSelect() deprecated

No description

array
getAssociateFormSchema() deprecated

No description

void
fillAssociateForm() deprecated

No description

void
associate(bool $another = false) deprecated

No description

getAssociateAction() deprecated

No description

static bool
canCreateAnother() deprecated

No description

static void
disableCreateAnother() deprecated

No description

void
fillCreateForm() deprecated

No description

void
create(bool $another = false) deprecated

No description

string|null
getCreatedNotificationMessage() deprecated

No description

void
createAnother() deprecated

No description

Model
handleRecordCreation(array $data) deprecated

No description

array
mutateFormDataBeforeCreate(array $data) deprecated

No description

getCreateAction() deprecated

No description

void
delete() deprecated

No description

string|null
getDeletedNotificationMessage() deprecated

No description

void
bulkDelete() deprecated

No description

string|null
getBulkDeletedNotificationMessage() deprecated

No description

getDeleteAction() deprecated

No description

getDeleteBulkAction() deprecated

No description

bool
hasDissociateAction() deprecated

No description

bool
hasDissociateBulkAction() deprecated

No description

void
dissociate() deprecated

No description

string|null
getDissociatedNotificationMessage() deprecated

No description

void
bulkDissociate() deprecated

No description

string|null
getBulkDissociatedNotificationMessage() deprecated

No description

getDissociateAction() deprecated

No description

getDissociateBulkAction() deprecated

No description

void
fillEditForm() deprecated

No description

array
mutateFormDataBeforeFill(array $data) deprecated

No description

void
save() deprecated

No description

string|null
getSavedNotificationMessage() deprecated

No description

Model
handleRecordUpdate(Model $record, array $data) deprecated

No description

array
mutateFormDataBeforeSave(array $data) deprecated

No description

getEditAction() deprecated

No description

bool
hasViewAction() deprecated

No description

void
fillViewForm() deprecated

No description

getViewAction() deprecated

No description

Details

void notify(string $status, string $message, bool $isAfterRedirect = false)

No description

Parameters

string $status
string $message
bool $isAfterRedirect

Return Value

void

protected bool isTableStriped()

No description

Return Value

bool

void updatedTableRecordsPerPage()

No description

Return Value

void

protected Paginator paginateTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Paginator

protected int getTableRecordsPerPage()

No description

Return Value

int

protected array getTableRecordsPerPageSelectOptions()

No description

Return Value

array

protected int getDefaultTableRecordsPerPageSelectOption()

No description

Return Value

int

protected bool isTablePaginationEnabled()

No description

Return Value

bool

protected string getTablePaginationPageName()

No description

Return Value

string

string getTablePerPageSessionKey()

No description

Return Value

string

void resetPage(string|null $pageName = null)

No description

Parameters

string|null $pageName

Return Value

void

protected string|null getTablePollingInterval()

No description

Return Value

string|null

void reorderTable(array $order)

No description

Parameters

array $order

Return Value

void

void toggleTableReordering()

No description

Return Value

void

bool isTableReordering()

No description

Return Value

bool

protected bool isTablePaginationEnabledWhileReordering()

No description

Return Value

bool

protected bool isTableReorderable()

No description

Return Value

bool

protected string|null getTableReorderColumn()

No description

Return Value

string|null

bool isTableSearchable()

No description

Return Value

bool

bool isTableSearchableByColumn()

No description

Return Value

bool

void updatedTableSearchQuery()

No description

Return Value

void

void updatedTableColumnSearchQueries($value = null, $key = null)

No description

Parameters

$value
$key

Return Value

void

protected Builder applySearchToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected Builder applyColumnSearchToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected Builder applyGlobalSearchToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected string getTableSearchQuery()

No description

Return Value

string

protected array castTableColumnSearchQueries(array $searchQueries)

No description

Parameters

array $searchQueries

Return Value

array

protected array getTableColumnSearchQueries()

No description

Return Value

array

bool hasTableColumnSearches()

No description

Return Value

bool

string getTableSearchSessionKey()

No description

Return Value

string

protected bool shouldPersistTableSearchInSession()

No description

Return Value

bool

string getTableColumnSearchSessionKey()

No description

Return Value

string

protected bool shouldPersistTableColumnSearchInSession()

No description

Return Value

bool

void deselectAllTableRecords()

No description

Return Value

void

bool shouldDeselectAllRecordsWhenTableFiltered()

No description

Return Value

bool

array getAllSelectableTableRecordKeys()

No description

Return Value

array

int getAllSelectableTableRecordsCount()

No description

Return Value

int

int getAllTableRecordsCount()

No description

Return Value

int

Collection getSelectedTableRecords()

No description

Return Value

Collection

bool isTableSelectionEnabled()

No description

Return Value

bool

string getTableRecordCheckboxPosition()

No description

Return Value

string

bool shouldSelectCurrentPageOnly()

No description

Return Value

bool

void sortTable(string|null $column = null, string|null $direction = null)

No description

Parameters

string|null $column
string|null $direction

Return Value

void

string|null getTableSortColumn()

No description

Return Value

string|null

string|null getTableSortDirection()

No description

Return Value

string|null

protected string|null getDefaultTableSortColumn()

No description

Return Value

string|null

protected string|null getDefaultTableSortDirection()

No description

Return Value

string|null

void updatedTableSort()

No description

Return Value

void

protected Builder applySortingToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected Builder applyDefaultSortingToTableQuery(Builder $query, string $sortColumn, string $sortDirection)

No description

Parameters

Builder $query
string $sortColumn
string $sortDirection

Return Value

Builder

string getTableSortSessionKey()

No description

Return Value

string

protected bool shouldPersistTableSortInSession()

No description

Return Value

bool

protected array getDefaultTableColumnToggleState()

No description

Return Value

array

void updatedToggledTableColumns()

No description

Return Value

void

bool hasToggleableTableColumns()

No description

Return Value

bool

ComponentContainer getTableColumnToggleForm()

No description

Return Value

ComponentContainer

protected array getTableColumnToggleFormSchema()

No description

Return Value

array

protected int|array getTableColumnToggleFormColumns()

No description

Return Value

int|array

protected string|null getTableColumnToggleFormMaxHeight()

No description

Return Value

string|null

protected string|null getTableColumnToggleFormWidth()

No description

Return Value

string|null

bool isTableColumnToggledHidden(string $name)

No description

Parameters

string $name

Return Value

bool

string getTableColumnToggleFormStateSessionKey()

No description

Return Value

string

bool isTableLoadingDeferred()

No description

Return Value

bool

void loadTable()

No description

Return Value

void

bool isTableLoaded()

No description

Return Value

bool

void cacheTableActions()

No description

Return Value

void

void cacheTableColumnActions()

No description

Return Value

void

protected void configureTableAction(Action $action)

No description

Parameters

Action $action

Return Value

void

callMountedTableAction(string|null $arguments = null)

No description

Parameters

string|null $arguments

void mountedTableActionRecord($record)

No description

Parameters

$record

Return Value

void

mountTableAction(string $name, string|null $record = null)

No description

Parameters

string $name
string|null $record

array getCachedTableActions()

No description

Return Value

array

array getCachedTableColumnActions()

No description

Return Value

array

Action|null getMountedTableAction()

No description

Return Value

Action|null

ComponentContainer|null getMountedTableActionForm()

No description

Return Value

ComponentContainer|null

getMountedTableActionRecordKey()

No description

Model|null getMountedTableActionRecord()

No description

Return Value

Model|null

Action|null getCachedTableAction(string $name)

No description

Parameters

string $name

Return Value

Action|null

protected Action|null findTableAction(string $name)

No description

Parameters

string $name

Return Value

Action|null

protected array getTableActions()

No description

Return Value

array

protected string|null getTableActionsPosition()

No description

Return Value

string|null

protected string|null getTableActionsColumnLabel()

No description

Return Value

string|null

void cacheTableBulkActions()

No description

Return Value

void

protected void configureTableBulkAction(BulkAction $action)

No description

Parameters

BulkAction $action

Return Value

void

callMountedTableBulkAction(string|null $arguments = null)

No description

Parameters

string|null $arguments

mountTableBulkAction(string $name, array $selectedRecords)

No description

Parameters

string $name
array $selectedRecords

array getCachedTableBulkActions()

No description

Return Value

array

BulkAction|null getMountedTableBulkAction()

No description

Return Value

BulkAction|null

ComponentContainer|null getMountedTableBulkActionForm()

No description

Return Value

ComponentContainer|null

BulkAction|null getCachedTableBulkAction(string $name)

No description

Parameters

string $name

Return Value

BulkAction|null

protected array getTableBulkActions()

No description

Return Value

array

Closure|null isTableRecordSelectable()

No description

Return Value

Closure|null

void cacheTableColumns()

No description

Return Value

void

callTableColumnAction(string $name, string $recordKey)

No description

Parameters

string $name
string $recordKey

array getCachedTableColumns()

No description

Return Value

array

array getCachedTableColumnsLayout()

No description

Return Value

array

Component|null getCachedCollapsibleTableColumnsLayout()

No description

Return Value

Component|null

bool hasTableColumnsLayout()

No description

Return Value

bool

Column|null getCachedTableColumn(string $name)

No description

Parameters

string $name

Return Value

Column|null

mixed updateTableColumnState(string $column, string $record, $input)

No description

Parameters

string $column
string $record
$input

Return Value

mixed

protected array getTableColumns()

No description

Return Value

array

protected View|null getTableContent()

No description

Return Value

View|null

protected array|null getTableContentGrid()

No description

Return Value

array|null

protected View|null getTableContentFooter()

No description

Return Value

View|null

void cacheTableEmptyStateActions()

No description

Return Value

void

array getCachedTableEmptyStateActions()

No description

Return Value

array

Action|null getCachedTableEmptyStateAction(string $name)

No description

Parameters

string $name

Return Value

Action|null

protected View|null getTableEmptyState()

No description

Return Value

View|null

protected array getTableEmptyStateActions()

No description

Return Value

array

protected string|null getTableEmptyStateDescription()

No description

Return Value

string|null

protected string|null getTableEmptyStateHeading()

No description

Return Value

string|null

protected string|null getTableEmptyStateIcon()

No description

Return Value

string|null

void cacheTableFilters()

No description

Return Value

void

array getCachedTableFilters()

No description

Return Value

array

BaseFilter|null getCachedTableFilter(string $name)

No description

Parameters

string $name

Return Value

BaseFilter|null

ComponentContainer getTableFiltersForm()

No description

Return Value

ComponentContainer

bool isTableFilterable()

No description

Return Value

bool

void updatedTableFilters()

No description

Return Value

void

void removeTableFilter(string $filter, string|null $field = null)

No description

Parameters

string $filter
string|null $field

Return Value

void

void removeTableFilters()

No description

Return Value

void

void resetTableFiltersForm()

No description

Return Value

void

protected Builder applyFiltersToTableQuery(Builder $query)

No description

Parameters

Builder $query

Return Value

Builder

protected array getTableFilters()

No description

Return Value

array

array|null getTableFilterState(string $name)

No description

Parameters

string $name

Return Value

array|null

string parseFilterName(string $name)

No description

Parameters

string $name

Return Value

string

protected int|array getTableFiltersFormColumns()

No description

Return Value

int|array

protected string|null getTableFiltersFormMaxHeight()

No description

Return Value

string|null

protected array getTableFiltersFormSchema()

No description

Return Value

array

protected string|null getTableFiltersFormWidth()

No description

Return Value

string|null

protected string|null getTableFiltersLayout()

No description

Return Value

string|null

string getTableFiltersSessionKey()

No description

Return Value

string

protected bool shouldPersistTableFiltersInSession()

No description

Return Value

bool

void cacheTableHeaderActions()

No description

Return Value

void

array getCachedTableHeaderActions()

No description

Return Value

array

Action|null getCachedTableHeaderAction(string $name)

No description

Parameters

string $name

Return Value

Action|null

protected Htmlable|null getTableDescription()

No description

Return Value

Htmlable|null

protected Htmlable|null getTableHeader()

No description

Return Value

Htmlable|null

protected array getTableHeaderActions()

No description

Return Value

array

protected Htmlable|Closure|null getTableHeading()

No description

Return Value

Htmlable|Closure|null

bool allowsDuplicates()

No description

Return Value

bool

protected Builder getFilteredTableQuery()

No description

Return Value

Builder

protected Paginator hydratePivotRelationForTableRecords(Paginator $records)

No description

Parameters

Paginator $records

Return Value

Paginator

Paginator getTableRecords()

No description

Return Value

Paginator

protected Model|null resolveTableRecord(string|null $key)

No description

Parameters

string|null $key

Return Value

Model|null

string getTableModel()

No description

Return Value

string

Model|null getTableRecord(string|null $key)

No description

Parameters

string|null $key

Return Value

Model|null

string getTableRecordKey(Model $record)

No description

Parameters

Model $record

Return Value

string

string getTableRecordTitle(Model $record)

No description

Parameters

Model $record

Return Value

string

string getTableModelLabel()

No description

Return Value

string

string getTablePluralModelLabel()

No description

Return Value

string

protected Closure|null getTableRecordActionUsing()

No description

Return Value

Closure|null

protected string|null getTableRecordAction() deprecated

deprecated Use `getTableRecordActionUsing()` instead.

No description

Return Value

string|null

protected Closure|null getTableRecordClassesUsing()

No description

Return Value

Closure|null

protected Closure|null getTableRecordUrlUsing()

No description

Return Value

Closure|null

protected bool hasMountedFormComponentAction()

No description

Return Value

bool

protected ComponentContainer|null getMountedFormComponentActionForm()

No description

Return Value

ComponentContainer|null

callMountedFormComponentAction(string|null $arguments = null)

No description

Parameters

string|null $arguments

Action|Closure|null getMountedFormComponentAction()

No description

Return Value

Action|Closure|null

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

No description

Parameters

string $component
string $name
array $arguments

Component|null getMountedFormComponentActionComponent()

No description

Return Value

Component|null

protected array getFormComponentActions()

No description

Return Value

array

__get($property)

No description

Parameters

$property

protected View|null getModalViewOnce()

No description

Return Value

View|null

void dispatchFormEvent(...$args)

No description

Parameters

...$args

Return Value

void

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

void deleteUploadedFile(string $statePath, string $fileKey)

No description

Parameters

string $statePath
string $fileKey

Return Value

void

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($rules = null, $messages = [], $attributes = [])

No description

Parameters

$rules
$messages
$attributes

protected void onValidationError(ValidationException $exception)

No description

Parameters

ValidationException $exception

Return Value

void

validateOnly($field, $rules = null, $messages = [], $attributes = [])

No description

Parameters

$field
$rules
$messages
$attributes

string|null getActiveFormLocale()

No description

Return Value

string|null

protected void callBeforeAndAfterSyncHooks($name, $value, $callback)

No description

Parameters

$name
$value
$callback

Return Value

void

protected ComponentContainer|null cacheForm(string $name, ComponentContainer|Closure|null $form)

No description

Parameters

string $name
ComponentContainer|Closure|null $form

Return Value

ComponentContainer|null

protected array cacheForms()

No description

Return Value

array

protected array getUncachedForms()

No description

Return Value

array

protected array getTraitForms()

No description

Return Value

array

protected bool hasCachedForm($name)

No description

Parameters

$name

Return Value

bool

protected ComponentContainer|null getCachedForm($name)

No description

Parameters

$name

Return Value

ComponentContainer|null

protected array getCachedForms()

No description

Return Value

array

protected Model|string|null getFormModel()

No description

Return Value

Model|string|null

protected array getFormSchema()

No description

Return Value

array

protected array getForms()

No description

Return Value

array

protected string|null getFormContext()

No description

Return Value

string|null

protected string|null getFormStatePath()

No description

Return Value

string|null

protected array getRules()

No description

Return Value

array

protected array getValidationAttributes()

No description

Return Value

array

protected ComponentContainer makeForm()

No description

Return Value

ComponentContainer

void bootedInteractsWithTable()

No description

Return Value

void

void mountInteractsWithTable()

No description

Return Value

void

protected Table getCachedTable()

No description

Return Value

Table

protected Table getTable()

No description

Return Value

Table

protected string|null getTableQueryStringIdentifier()

No description

Return Value

string|null

protected string getIdentifiedTableQueryStringPropertyNameFor(string $property)

No description

Parameters

string $property

Return Value

string

protected array getInteractsWithTableForms()

No description

Return Value

array

string|null getActiveTableLocale()

No description

Return Value

string|null

protected array getTableForms()

No description

Return Value

array

protected Relation getTableQuery()

No description

Return Value

Relation

protected Relation selectPivotDataInQuery(Relation $query)

No description

Parameters

Relation $query

Return Value

Relation

protected Form getResourceForm(int|null $columns = null, bool $isDisabled = false)

No description

Parameters

int|null $columns
bool $isDisabled

Return Value

Form

protected Form getBaseResourceForm(int|null $columns = null, bool $isDisabled = false)

No description

Parameters

int|null $columns
bool $isDisabled

Return Value

Form

protected void configureAssociateAction(AssociateAction $action)

No description

Parameters

AssociateAction $action

Return Value

void

protected void configureAttachAction(AttachAction $action)

No description

Parameters

AttachAction $action

Return Value

void

protected array getCreateFormSchema()

No description

Return Value

array

protected void configureCreateAction(CreateAction $action)

No description

Parameters

CreateAction $action

Return Value

void

protected void configureDeleteAction(DeleteAction $action)

No description

Parameters

DeleteAction $action

Return Value

void

protected void configureDetachAction(DetachAction $action)

No description

Parameters

DetachAction $action

Return Value

void

protected void configureDissociateAction(DissociateAction $action)

No description

Parameters

DissociateAction $action

Return Value

void

protected array getEditFormSchema()

No description

Return Value

array

protected void configureEditAction(EditAction $action)

No description

Parameters

EditAction $action

Return Value

void

protected void configureForceDeleteAction(ForceDeleteAction $action)

No description

Parameters

ForceDeleteAction $action

Return Value

void

protected void configureReplicateAction(ReplicateAction $action)

No description

Parameters

ReplicateAction $action

Return Value

void

protected void configureRestoreAction(RestoreAction $action)

No description

Parameters

RestoreAction $action

Return Value

void

protected array getViewFormSchema()

No description

Return Value

array

protected void configureViewAction(ViewAction $action)

No description

Parameters

ViewAction $action

Return Value

void

protected void configureDeleteBulkAction(DeleteBulkAction $action)

No description

Parameters

DeleteBulkAction $action

Return Value

void

protected void configureDetachBulkAction(DetachBulkAction $action)

No description

Parameters

DetachBulkAction $action

Return Value

void

protected void configureDissociateBulkAction(DissociateBulkAction $action)

No description

Parameters

DissociateBulkAction $action

Return Value

void

protected void configureForceDeleteBulkAction(ForceDeleteBulkAction $action)

No description

Parameters

ForceDeleteBulkAction $action

Return Value

void

protected void configureRestoreBulkAction(RestoreBulkAction $action)

No description

Parameters

RestoreBulkAction $action

Return Value

void

protected void callHook(string $hook)

No description

Parameters

string $hook

Return Value

void

protected bool can(string $action, Model|null $record = null)

No description

Parameters

string $action
Model|null $record

Return Value

bool

static void authorizeWithGate(bool $condition = true)

No description

Parameters

bool $condition

Return Value

void

static void ignorePolicies(bool $condition = true)

No description

Parameters

bool $condition

Return Value

void

static bool shouldAuthorizeWithGate()

No description

Return Value

bool

static bool shouldIgnorePolicies()

No description

Return Value

bool

static bool canViewForRecord(Model $ownerRecord)

No description

Parameters

Model $ownerRecord

Return Value

bool

static Form form(Form $form)

No description

Parameters

Form $form

Return Value

Form

string getInverseRelationshipName()

No description

Return Value

string

Model getOwnerRecord()

No description

Return Value

Model

static Table table(Table $table)

No description

Parameters

Table $table

Return Value

Table

static string getRelationshipName()

No description

Return Value

string

static string getTitle()

No description

Return Value

string

static string getTitleForRecord(Model $ownerRecord)

No description

Parameters

Model $ownerRecord

Return Value

string

static string|null getRecordTitleAttribute()

No description

Return Value

string|null

static string|null getRecordTitle(Model|null $record)

No description

Parameters

Model|null $record

Return Value

string|null

static protected string|null getRecordLabel() deprecated

deprecated Use `getModelLabel()` instead.

No description

Return Value

string|null

static protected string getModelLabel()

No description

Return Value

string

static protected string|null getPluralRecordLabel() deprecated

deprecated Use `getPluralModelLabel()` instead.

No description

Return Value

string|null

static protected string getPluralModelLabel()

No description

Return Value

string

protected string getRelatedModel()

No description

Return Value

string

Builder getRelationship()

No description

Return Value

Builder

protected Builder getInverseRelationshipFor(Model $record)

No description

Parameters

Model $record

Return Value

Builder

protected Table getResourceTable()

No description

Return Value

Table

View render()

No description

Return Value

View

protected bool canAssociate()

No description

Return Value

bool

protected bool canAttach()

No description

Return Value

bool

protected bool canCreate()

No description

Return Value

bool

protected bool canDelete(Model $record)

No description

Parameters

Model $record

Return Value

bool

protected bool canDeleteAny()

No description

Return Value

bool

protected bool canDetach(Model $record)

No description

Parameters

Model $record

Return Value

bool

protected bool canDetachAny()

No description

Return Value

bool

protected bool canDissociate(Model $record)

No description

Parameters

Model $record

Return Value

bool

protected bool canDissociateAny()

No description

Return Value

bool

protected bool canEdit(Model $record)

No description

Parameters

Model $record

Return Value

bool

protected bool canForceDelete(Model $record)

No description

Parameters

Model $record

Return Value

bool

protected bool canForceDeleteAny()

No description

Return Value

bool

protected bool canReorder()

No description

Return Value

bool

protected bool canReplicate(Model $record)

No description

Parameters

Model $record

Return Value

bool

protected bool canRestore(Model $record)

No description

Parameters

Model $record

Return Value

bool

protected bool canRestoreAny()

No description

Return Value

bool

protected bool canView(Model $record)

No description

Parameters

Model $record

Return Value

bool

protected array getViewData()

No description

Return Value

array

protected bool hasAssociateAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

bool

static protected bool canAssociateAnother() deprecated

deprecated Use `->disableAssociateAnother()` on the action instead.

No description

Return Value

bool

static void disableAssociateAnother() deprecated

deprecated Use `->disableAssociateAnother()` on the action instead.

No description

Return Value

void

static Form associateForm(Form $form) deprecated

deprecated Use `->form()` on the action instead.

No description

Parameters

Form $form

Return Value

Form

protected Form getResourceAssociateForm() deprecated

deprecated Use `->form()` on the action instead.

No description

Return Value

Form

static protected Select getAssociateFormRecordSelect() deprecated

deprecated Use `->recordSelect()` on the action instead.

No description

Return Value

Select

protected array getAssociateFormSchema() deprecated

deprecated Use `->form()` on the action instead.

No description

Return Value

array

protected void fillAssociateForm() deprecated

deprecated Use `->mountUsing()` on the action instead.

No description

Return Value

void

void associate(bool $another = false) deprecated

deprecated Use `->action()` on the action instead.

No description

Parameters

bool $another

Return Value

void

protected Action getAssociateAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

Action

static protected bool canCreateAnother() deprecated

deprecated Use `->disableCreateAnother()` on the action instead.

No description

Return Value

bool

static void disableCreateAnother() deprecated

deprecated Use `->disableCreateAnother()` on the action instead.

No description

Return Value

void

protected void fillCreateForm() deprecated

deprecated Use `->mountUsing()` on the action instead.

No description

Return Value

void

void create(bool $another = false) deprecated

deprecated Use `->action()` on the action instead.

No description

Parameters

bool $another

Return Value

void

protected string|null getCreatedNotificationMessage() deprecated

deprecated Use `->successNotificationTitle()` on the action instead.

No description

Return Value

string|null

void createAnother() deprecated

deprecated Use `->action()` on the action instead.

No description

Return Value

void

protected Model handleRecordCreation(array $data) deprecated

deprecated Use `->using()` on the action instead.

No description

Parameters

array $data

Return Value

Model

protected array mutateFormDataBeforeCreate(array $data) deprecated

deprecated Use `->mutateFormDataUsing()` on the action instead.

No description

Parameters

array $data

Return Value

array

protected Action getCreateAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

Action

void delete() deprecated

deprecated Use `->action()` on the action instead.

No description

Return Value

void

protected string|null getDeletedNotificationMessage() deprecated

deprecated Use `->successNotificationTitle()` on the action instead.

No description

Return Value

string|null

void bulkDelete() deprecated

deprecated Use `->action()` on the action instead.

No description

Return Value

void

protected string|null getBulkDeletedNotificationMessage() deprecated

deprecated Use `->successNotificationTitle()` on the action instead.

No description

Return Value

string|null

protected Action getDeleteAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

Action

protected BulkAction getDeleteBulkAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

BulkAction

protected bool hasDissociateAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

bool

protected bool hasDissociateBulkAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

bool

void dissociate() deprecated

deprecated Use `->action()` on the action instead.

No description

Return Value

void

protected string|null getDissociatedNotificationMessage() deprecated

deprecated Use `->successNotificationTitle()` on the action instead.

No description

Return Value

string|null

void bulkDissociate() deprecated

deprecated Use `->action()` on the action instead.

No description

Return Value

void

protected string|null getBulkDissociatedNotificationMessage() deprecated

deprecated Use `->successNotificationTitle()` on the action instead.

No description

Return Value

string|null

protected Action getDissociateAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

Action

protected BulkAction getDissociateBulkAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

BulkAction

protected void fillEditForm() deprecated

deprecated Use `->mountUsing()` on the action instead.

No description

Return Value

void

protected array mutateFormDataBeforeFill(array $data) deprecated

deprecated Use `->mutateRecordDataUsing()` on the action instead.

No description

Parameters

array $data

Return Value

array

void save() deprecated

deprecated Use `->action()` on the action instead.

No description

Return Value

void

protected string|null getSavedNotificationMessage() deprecated

deprecated Use `->successNotificationTitle()` on the action instead.

No description

Return Value

string|null

protected Model handleRecordUpdate(Model $record, array $data) deprecated

deprecated Use `->using()` on the action instead.

No description

Parameters

Model $record
array $data

Return Value

Model

protected array mutateFormDataBeforeSave(array $data) deprecated

deprecated Use `->mutateFormDataUsing()` on the action instead.

No description

Parameters

array $data

Return Value

array

protected Action getEditAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

Action

protected bool hasViewAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

bool

protected void fillViewForm() deprecated

deprecated Use `->mountUsing()` on the action instead.

No description

Return Value

void

protected Action getViewAction() deprecated

deprecated Actions are no longer pre-defined.

No description

Return Value

Action