Group
class Group extends Component (View source)
Traits
Properties
protected string | $evaluationIdentifier | from EvaluatesClosures | |
static protected Closure>> | $macros | from Macroable | |
protected string|null | $column | ||
protected Closure|null | $getDescriptionFromRecordUsing | ||
protected Closure|null | $getKeyFromRecordUsing | ||
protected Closure|null | $getTitleFromRecordUsing | ||
protected Closure|null | $groupQueryUsing | ||
protected Closure|null | $orderQueryUsing | ||
protected Closure|null | $scopeQueryUsing | ||
protected Closure|null | $scopeQueryByKeyUsing | ||
protected string|null | $label | ||
protected string | $id | ||
protected bool | $isCollapsible | ||
protected bool | $isTitlePrefixedWithLabel | ||
protected bool | $isDate |
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
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
static mixed
configureUsing(Closure $modifyUsing, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
mixed
evaluate(mixed $value, array $namedInjections = [], array $typedInjections = [])
No description
protected mixed
resolveClosureDependencyForEvaluation(ReflectionParameter $parameter, array $namedInjections, array $typedInjections)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByName(string $parameterName)
No description
protected array
resolveDefaultClosureDependencyForEvaluationByType(string $parameterType)
No description
protected string|null
getTypedReflectionParameterClassName(ReflectionParameter $parameter)
No description
static void
macro(string $name, callable $macro)
No description
static void
mixin(object $mixin, bool $replace = true)
No description
static void
flushMacros()
No description
static mixed
__callStatic(string $method, array $parameters)
No description
mixed
__call(string $method, array $parameters)
No description
static protected callable|null
getMacro(string $method)
No description
final
__construct(string|null $id = null)
No description
static Group
make(string|null $id = null)
No description
Group
collapsible(bool $condition = true)
No description
Group
column(string|null $column)
No description
Group
date(bool $condition = true)
No description
Group
id(string $id)
No description
Group
label(string|null $label)
No description
Group
getDescriptionUsing(Closure|null $callback)
deprecated
deprecated
No description
Group
titlePrefixedWithLabel(bool $condition = true)
No description
bool
isCollapsible()
No description
bool
isTitlePrefixedWithLabel()
No description
string
getColumn()
No description
string
getId()
No description
string
getLabel()
No description
string|null
getDescription(Model $record, string|null $title)
No description
string|null
getStringKey(Model $record)
No description
mixed
getKey(Model $record)
No description
string|null
getTitle(Model $record)
No description
Builder
groupQuery(Builder $query, Model $model)
No description
Builder
orderQuery(Builder $query, string $direction)
No description
protected Builder
getSortColumnForQuery(Builder $query, string $sortColumn, array|null $relationships = null, Relation|null $lastRelationship = null)
No description
Builder
scopeQuery(Builder $query, Model $record)
No description
Builder
scopeQueryByKey(Builder $query, string $key)
No description
protected Builder
applyDefaultScopeToQuery(Builder $query, string $column, mixed $value)
No description
Relation|null
getRelationship(Model $record, string|null $name = null)
No description
string
getRelationshipAttribute(string|null $name = null)
No description
string|null
getRelationshipName(string|null $name = null)
No description
bool
isDate()
No description
Builder
applyEagerLoading(Builder $query)
No description