ManageRecords
class ManageRecords extends ListRecords (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 | from HasActions | ||
$mountedActionData | from HasActions | ||
protected array|null | $cachedActions | from HasActions | |
ComponentContainer | $mountedActionForm | from HasActions | |
static protected string | $layout | from Page | |
static protected string|null | $navigationGroup | from Page | |
static protected string|null | $navigationIcon | from Page | |
static protected string|null | $activeNavigationIcon | from Page | |
static protected string|null | $navigationLabel | from Page | |
static protected int|null | $navigationSort | from Page | |
static protected bool | $shouldRegisterNavigation | from Page | |
static protected string|null | $slug | from Page | |
static protected string|null | $title | from Page | |
protected string|null | $heading | from Page | |
protected string|null | $subheading | from Page | |
static protected string | $view | from ListRecords | |
static protected string|array | $middlewares | from Page | |
static protected string|array | $withoutRouteMiddleware | from Page | |
static Closure|null | $reportValidationErrorUsing | from Page | |
protected string|null | $maxContentWidth | from Page | |
static protected string|null | $breadcrumb | from Page | |
static protected string | $resource | from Page | |
$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 | |
protected bool | $hasMounted | from InteractsWithTable | |
protected Table | $table | from InteractsWithTable | |
protected array|null | $cachedFormActions | from HasFormActions | |
protected | $queryString | from ListRecords | |
static protected bool deprecated | $canCreateAnother | from CanCreateRecords |
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
Details
void
notify(string $status, string $message, bool $isAfterRedirect = false)
No description
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
in
Page at line 56
static void
registerNavigationItems()
No description
in
Page at line 65
static array
getNavigationItems()
No description
in
Page at line 79
static string
getRouteName()
No description
in
Page at line 86
static Closure
getRoutes()
No description
in
Page at line 98
static string|array
getMiddlewares()
No description
in
Page at line 103
static string|array
getWithoutRouteMiddleware()
No description
in
Page at line 108
static string
getSlug()
No description
in
Page at line 115
static string
getUrl(array $parameters = [], bool $isAbsolute = true)
No description
in
Page at line 120
View
render()
No description
in
Page at line 26
protected array
getBreadcrumbs()
No description
in
Page at line 131
static protected string|null
getNavigationGroup()
No description
in
Page at line 136
static protected string
getNavigationIcon()
No description
in
Page at line 141
static protected string
getActiveNavigationIcon()
No description
in
Page at line 146
static protected string
getNavigationLabel()
No description
in
Page at line 154
static protected string|null
getNavigationBadge()
No description
in
Page at line 159
static protected string|null
getNavigationBadgeColor()
No description
in
Page at line 164
static protected int|null
getNavigationSort()
No description
in
Page at line 169
static protected string
getNavigationUrl()
No description
in
Page at line 179
protected View|null
getFooter()
No description
in
Page at line 184
protected View|null
getHeader()
No description
in
Page at line 189
protected array
getHeaderWidgets()
No description
in
Page at line 194
protected array
getVisibleHeaderWidgets()
No description
in
Page at line 199
protected int|string|array
getHeaderWidgetsColumns()
No description
in
Page at line 204
protected array
getFooterWidgets()
No description
in
Page at line 209
protected array
getVisibleFooterWidgets()
No description
in
Page at line 214
protected array
filterVisibleWidgets(array $widgets)
No description
in
Page at line 219
protected int|string|array
getFooterWidgetsColumns()
No description
in
Page at line 224
protected Htmlable
getHeading()
No description
in
Page at line 229
protected Htmlable|null
getSubheading()
No description
protected Htmlable
getTitle()
No description
in
Page at line 242
protected string|null
getMaxContentWidth()
No description
in
Page at line 247
protected array
getLayoutData()
No description
in
Page at line 256
protected array
getViewData()
No description
in
Page at line 261
static protected bool
shouldRegisterNavigation()
No description
in
Page at line 275
protected void
halt()
No description
in
Page at line 13
static array
route(string $path)
No description
string|null
getBreadcrumb()
No description
in
Page at line 38
static void
authorizeResourceAccess()
No description
in
Page at line 43
string
getModel()
No description
in
Page at line 48
static string
getResource()
No description
in
Page at line 53
protected void
callHook(string $hook)
No description
protected bool
isTableStriped()
No description
void
updatedTableRecordsPerPage()
No description
protected Paginator
paginateTableQuery(Builder $query)
No description
protected int
getTableRecordsPerPage()
No description
protected array
getTableRecordsPerPageSelectOptions()
No description
protected int
getDefaultTableRecordsPerPageSelectOption()
No description
protected bool
isTablePaginationEnabled()
No description
protected string
getTablePaginationPageName()
No description
string
getTablePerPageSessionKey()
No description
void
resetPage(string|null $pageName = null)
No description
protected string|null
getTablePollingInterval()
No description
void
reorderTable(array $order)
No description
void
toggleTableReordering()
No description
bool
isTableReordering()
No description
protected bool
isTablePaginationEnabledWhileReordering()
No description
protected bool
isTableReorderable()
No description
protected 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
protected Builder
applySearchToTableQuery(Builder $query)
No description
protected Builder
applyColumnSearchToTableQuery(Builder $query)
No description
protected Builder
applyGlobalSearchToTableQuery(Builder $query)
No description
protected string
getTableSearchQuery()
No description
protected array
castTableColumnSearchQueries(array $searchQueries)
No description
protected array
getTableColumnSearchQueries()
No description
bool
hasTableColumnSearches()
No description
string
getTableSearchSessionKey()
No description
protected bool
shouldPersistTableSearchInSession()
No description
string
getTableColumnSearchSessionKey()
No description
protected bool
shouldPersistTableColumnSearchInSession()
No description
void
deselectAllTableRecords()
No description
bool
shouldDeselectAllRecordsWhenTableFiltered()
No description
array
getAllSelectableTableRecordKeys()
No description
int
getAllSelectableTableRecordsCount()
No description
int
getAllTableRecordsCount()
No description
Collection
getSelectedTableRecords()
No description
bool
isTableSelectionEnabled()
No description
string
getTableRecordCheckboxPosition()
No description
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
protected string|null
getDefaultTableSortColumn()
No description
protected string|null
getDefaultTableSortDirection()
No description
void
updatedTableSort()
No description
protected Builder
applySortingToTableQuery(Builder $query)
No description
protected Builder
applyDefaultSortingToTableQuery(Builder $query, string $sortColumn, string $sortDirection)
No description
string
getTableSortSessionKey()
No description
protected bool
shouldPersistTableSortInSession()
No description
protected array
getDefaultTableColumnToggleState()
No description
void
updatedToggledTableColumns()
No description
bool
hasToggleableTableColumns()
No description
ComponentContainer
getTableColumnToggleForm()
No description
protected array
getTableColumnToggleFormSchema()
No description
protected int|array
getTableColumnToggleFormColumns()
No description
protected string|null
getTableColumnToggleFormMaxHeight()
No description
protected string|null
getTableColumnToggleFormWidth()
No description
bool
isTableColumnToggledHidden(string $name)
No description
string
getTableColumnToggleFormStateSessionKey()
No description
bool
isTableLoadingDeferred()
No description
void
loadTable()
No description
bool
isTableLoaded()
No description
void
cacheTableActions()
No description
void
cacheTableColumnActions()
No description
protected 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
getMountedTableActionRecordKey()
No description
Model|null
getMountedTableActionRecord()
No description
Action|null
getCachedTableAction(string $name)
No description
protected Action|null
findTableAction(string $name)
No description
protected array
getTableActions()
No description
protected string|null
getTableActionsPosition()
No description
protected string|null
getTableActionsColumnLabel()
No description
void
cacheTableBulkActions()
No description
protected 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
getMountedTableBulkActionForm()
No description
BulkAction|null
getCachedTableBulkAction(string $name)
No description
protected 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
getCachedCollapsibleTableColumnsLayout()
No description
bool
hasTableColumnsLayout()
No description
Column|null
getCachedTableColumn(string $name)
No description
mixed
updateTableColumnState(string $column, string $record, $input)
No description
protected array
getTableColumns()
No description
protected View|null
getTableContent()
No description
protected array|null
getTableContentGrid()
No description
protected View|null
getTableContentFooter()
No description
void
cacheTableEmptyStateActions()
No description
array
getCachedTableEmptyStateActions()
No description
Action|null
getCachedTableEmptyStateAction(string $name)
No description
protected View|null
getTableEmptyState()
No description
protected array
getTableEmptyStateActions()
No description
protected string|null
getTableEmptyStateDescription()
No description
protected string|null
getTableEmptyStateHeading()
No description
protected string|null
getTableEmptyStateIcon()
No description
void
cacheTableFilters()
No description
array
getCachedTableFilters()
No description
BaseFilter|null
getCachedTableFilter(string $name)
No description
ComponentContainer
getTableFiltersForm()
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
protected Builder
applyFiltersToTableQuery(Builder $query)
No description
protected array
getTableFilters()
No description
array|null
getTableFilterState(string $name)
No description
string
parseFilterName(string $name)
No description
protected int|array
getTableFiltersFormColumns()
No description
protected string|null
getTableFiltersFormMaxHeight()
No description
protected array
getTableFiltersFormSchema()
No description
protected string|null
getTableFiltersFormWidth()
No description
protected string|null
getTableFiltersLayout()
No description
string
getTableFiltersSessionKey()
No description
protected bool
shouldPersistTableFiltersInSession()
No description
void
cacheTableHeaderActions()
No description
array
getCachedTableHeaderActions()
No description
Action|null
getCachedTableHeaderAction(string $name)
No description
protected Htmlable|null
getTableDescription()
No description
protected Htmlable|null
getTableHeader()
No description
protected array
getTableHeaderActions()
No description
protected Htmlable|Closure|null
getTableHeading()
No description
bool
allowsDuplicates()
No description
protected Builder
getFilteredTableQuery()
No description
protected Paginator
hydratePivotRelationForTableRecords(Paginator $records)
No description
Paginator
getTableRecords()
No description
protected 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
protected Closure|null
getTableRecordActionUsing()
No description
protected string|null
getTableRecordAction()
deprecated
deprecated
No description
protected Closure|null
getTableRecordClassesUsing()
No description
protected Closure|null
getTableRecordUrlUsing()
No description
void
bootedInteractsWithTable()
No description
void
mountInteractsWithTable()
No description
protected Table
getCachedTable()
No description
protected Table
getTable()
No description
protected string|null
getTableQueryStringIdentifier()
No description
protected string
getIdentifiedTableQueryStringPropertyNameFor(string $property)
No description
protected array
getInteractsWithTableForms()
No description
string|null
getActiveTableLocale()
No description
protected array
getTableForms()
No description
protected Relation
getTableQuery()
No description
protected Relation
selectPivotDataInQuery(Relation $query)
No description
protected array
getCachedFormActions()
No description
protected void
cacheFormActions()
No description
Action|null
getCachedFormAction(string $name)
No description
protected array
getFormActions()
No description
protected bool
hasFullWidthFormActions()
No description
protected Form
getResourceForm(int|null $columns = null, bool $isDisabled = false)
No description
protected Form
getBaseResourceForm(int|null $columns = null, bool $isDisabled = false)
No description
void
mount()
No description
protected Table
getResourceTable()
No description
protected bool
hasDeleteAction()
deprecated
deprecated
No description
protected bool
hasEditAction()
deprecated
deprecated
No description
protected bool
hasViewAction()
deprecated
deprecated
No description
protected Action
getViewAction()
deprecated
deprecated
No description
protected Action
getEditAction()
deprecated
deprecated
No description
protected Action
getDeleteAction()
deprecated
deprecated
No description
protected BulkAction
getDeleteBulkAction()
deprecated
deprecated
No description
void
bulkDelete()
deprecated
deprecated
No description
protected string|null
getBulkDeletedNotificationMessage()
deprecated
deprecated
No description
protected void
handleRecordBulkDeletion(Collection $records)
deprecated
deprecated
No description
protected bool
hasCreateAction()
deprecated
deprecated
No description
protected Action
getCreateAction()
deprecated
deprecated
No description
protected array
getCreateFormSchema()
No description
protected void
configureCreateAction(CreateAction $action)
No description
protected void
configureDeleteAction(DeleteAction $action)
No description
protected array
getEditFormSchema()
No description
protected void
configureEditAction(EditAction $action)
No description
protected void
configureForceDeleteAction(ForceDeleteAction $action)
No description
protected void
configureReplicateAction(ReplicateAction $action)
No description
protected void
configureRestoreAction(RestoreAction $action)
No description
protected array
getViewFormSchema(bool $isDisabled = true)
No description
protected void
configureViewAction(ViewAction $action)
No description
protected void
configureDeleteBulkAction(DeleteBulkAction $action)
No description
protected void
configureForceDeleteBulkAction(ForceDeleteBulkAction $action)
No description
protected void
configureRestoreBulkAction(RestoreBulkAction $action)
No description
string
getModelLabel()
No description
string
getPluralModelLabel()
No description
static protected bool
canCreateAnother()
deprecated
deprecated
No description
static void
disableCreateAnother()
deprecated
deprecated
No description
protected void
fillCreateForm()
deprecated
deprecated
No description
void
create(bool $another = false)
deprecated
deprecated
No description
protected string|null
getCreatedNotificationMessage()
deprecated
deprecated
No description
void
createAnother()
deprecated
deprecated
No description
protected Model
handleRecordCreation(array $data)
deprecated
deprecated
No description
protected array
mutateFormDataBeforeCreate(array $data)
deprecated
deprecated
No description
void
delete()
deprecated
deprecated
No description
protected string|null
getDeletedNotificationMessage()
deprecated
deprecated
No description
protected void
handleRecordDeletion(Model $record)
deprecated
deprecated
No description
protected void
fillEditForm()
deprecated
deprecated
No description
protected array
mutateFormDataBeforeFill(array $data)
deprecated
deprecated
No description
void
save()
deprecated
deprecated
No description
protected string|null
getSavedNotificationMessage()
deprecated
deprecated
No description
protected Model
handleRecordUpdate(Model $record, array $data)
deprecated
deprecated
No description
protected array
mutateFormDataBeforeSave(array $data)
deprecated
deprecated
No description