TableComponent
abstract class TableComponent extends Component implements HasForms, HasTable (View source)
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 |
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
Details
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
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
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