trait CanGroupRecords (View source)

Properties

protected Group|null $defaultGroup
protected Group> $cachedGroups
protected array|Closure $groups
protected bool|Closure $isGroupsOnly
protected bool|Closure $areGroupingSettingsInDropdownOnDesktop
protected bool|Closure $areGroupingSettingsHidden
protected bool|Closure $isGroupingDirectionSettingHidden
protected Closure|null $modifyGroupRecordsTriggerActionUsing

Methods

groupRecordsTriggerAction(Closure|null $callback)

No description

groupingSettingsInDropdownOnDesktop(bool|Closure $condition = true)

No description

groupsInDropdownOnDesktop(bool|Closure $condition = true) deprecated

No description

groupingSettingsHidden(bool|Closure $condition = true)

No description

groupingDirectionSettingHidden(bool|Closure $condition = true)

No description

defaultGroup(Group|null $group)

No description

groups(array|Closure $groups)

No description

groupsOnly(bool|Closure $condition = true)

No description

bool
isDefaultGroupSelectable()

No description

bool
areGroupingSettingsHidden()

No description

bool
Group|null
getDefaultGroup()

No description

array
getGroups()

No description

Group|null
getGroup(string $id)

No description

Group|null
getGrouping()

No description

bool
isGroupsOnly()

No description

Details

CanGroupRecords groupRecordsTriggerAction(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

CanGroupRecords

CanGroupRecords groupingSettingsInDropdownOnDesktop(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanGroupRecords

CanGroupRecords groupsInDropdownOnDesktop(bool|Closure $condition = true) deprecated

deprecated Use the `groupingSettingsInDropdownOnDesktop()` method instead.

No description

Parameters

bool|Closure $condition

Return Value

CanGroupRecords

CanGroupRecords groupingSettingsHidden(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanGroupRecords

CanGroupRecords groupingDirectionSettingHidden(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanGroupRecords

CanGroupRecords defaultGroup(Group|null $group)

No description

Parameters

Group|null $group

Return Value

CanGroupRecords

CanGroupRecords groups(array|Closure $groups)

No description

Parameters

array|Closure $groups

Return Value

CanGroupRecords

CanGroupRecords groupsOnly(bool|Closure $condition = true)

No description

Parameters

bool|Closure $condition

Return Value

CanGroupRecords

Action getGroupRecordsTriggerAction()

No description

Return Value

Action

bool isDefaultGroupSelectable()

No description

Return Value

bool

bool areGroupingSettingsInDropdownOnDesktop()

No description

Return Value

bool

bool areGroupingSettingsHidden()

No description

Return Value

bool

bool isGroupingDirectionSettingHidden()

No description

Return Value

bool

Group|null getDefaultGroup()

No description

Return Value

Group|null

array getGroups()

No description

Return Value

array

Group|null getGroup(string $id)

No description

Parameters

string $id

Return Value

Group|null

Group|null getGrouping()

No description

Return Value

Group|null

bool isGroupsOnly()

No description

Return Value

bool