ListExtendable
trait ListExtendable
Methods
Controller override: Extend the query used for populating the list before the default query is processed.
Controller override: Extend the query used for populating the list after the default query is processed.
listExtendRecords controller override: Extend the records used for populating the list after the query is processed.
Controller override: Extend the query used for populating the filter options before the default query is processed.
Replace a table column value (
Replace the entire table header contents (
Static helper for extending list columns.
Details
at line 17
void
listExtendColumns(Lists $host)
Called after the list columns are defined.
at line 29
listExtendModel(Model $model, null $alias = null)
Controller override: Extend supplied model
at line 40
listExtendQueryBefore(Builder $query, $alias = null)
Controller override: Extend the query used for populating the list before the default query is processed.
at line 50
listExtendQuery(Builder $query, $alias = null)
Controller override: Extend the query used for populating the list after the default query is processed.
at line 59
listExtendRecords(LengthAwarePaginator|Collection $records, $alias = null)
listExtendRecords controller override: Extend the records used for populating the list after the query is processed.
at line 70
listFilterExtendQuery(Builder $query, array $scope)
Controller override: Extend the query used for populating the filter options before the default query is processed.
at line 81
void
listFilterExtendScopesBefore(Filter $host)
Called before the filter scopes are defined.
at line 93
void
listFilterExtendScopes(Filter $host, $scopes)
Called after the filter scopes are defined.
at line 106
string
listOverrideColumnValue(Model $record, string $column, string $alias = null)
Replace a table column value (
at line 118
string
listOverrideHeaderValue(string $columnName, string $alias = null)
Replace the entire table header contents (
at line 129
static void
extendListColumns(callable $callback)
Static helper for extending list columns.