class TableWidget extends Widget implements HasTable (View source)

Traits

Properties

static protected int|null $sort from  Widget
static protected string $view
protected int|string|array $columnSpan from  Widget
$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
static protected string|null $heading

Methods

static bool
canView()

No description

from  Widget
static int
getSort()

No description

from  Widget
int|string|array
getColumnSpan()

No description

from  Widget
array
getViewData()

No description

from  Widget
View
render()

No description

from  Widget
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

Details

static bool canView()

No description

Return Value

bool

static int getSort()

No description

Return Value

int

int|string|array getColumnSpan()

No description

Return Value

int|string|array

protected array getViewData()

No description

Return Value

array

View render()

No description

Return Value

View

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