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.
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 61
listFilterExtendQuery(Builder $query, array $scope)
Controller override: Extend the query used for populating the filter options before the default query is processed.
at line 72
void
listFilterExtendScopesBefore(Filter $host)
Called before the filter scopes are defined.
at line 84
void
listFilterExtendScopes(Filter $host, $scopes)
Called after the filter scopes are defined.
at line 97
string
listOverrideColumnValue(Model $record, string $column, string $alias = null)
Replace a table column value (
at line 109
string
listOverrideHeaderValue(string $columnName, string $alias = null)
Replace the entire table header contents (
at line 120
static void
extendListColumns(callable $callback)
Static helper for extending list columns.