HasBulkActions
trait HasBulkActions (View source)
Properties
protected array | $bulkActions | ||
protected BulkAction> | $flatBulkActions | ||
protected Closure|null | $checkIfRecordIsSelectableUsing | ||
protected bool|Closure|null | $selectsCurrentPageOnly | ||
protected RecordCheckboxPosition|Closure|null | $recordCheckboxPosition | ||
protected bool|Closure|null | $isSelectable |
Methods
bulkActions(ActionGroup $actions)
No description
pushBulkActions(ActionGroup $actions)
No description
groupedBulkActions(array $actions)
No description
void
void
mergeCachedFlatBulkActions(array $actions)
No description
void
removeCachedBulkActions(array $actions)
No description
selectCurrentPageOnly(bool|Closure $condition = true)
No description
array
getBulkActions()
No description
array
getFlatBulkActions()
No description
BulkAction|null
getBulkAction(string $name)
No description
bool
isRecordSelectable(Model $record)
No description
int
getAllSelectableRecordsCount()
No description
selectable(bool|Closure|null $condition = true)
No description
bool
isSelectionEnabled()
No description
bool
selectsCurrentPageOnly()
No description
bool
checksIfRecordIsSelectable()
No description
recordCheckboxPosition(RecordCheckboxPosition|Closure|null $position = null)
No description
RecordCheckboxPosition
getRecordCheckboxPosition()
No description
Details
HasBulkActions
bulkActions(ActionGroup $actions)
No description
HasBulkActions
pushBulkActions(ActionGroup $actions)
No description
HasBulkActions
groupedBulkActions(array $actions)
No description
protected void
cacheBulkAction(BulkAction $action)
No description
protected void
mergeCachedFlatBulkActions(array $actions)
No description
protected void
removeCachedBulkActions(array $actions)
No description
HasBulkActions
checkIfRecordIsSelectableUsing(Closure|null $callback)
No description
HasBulkActions
selectCurrentPageOnly(bool|Closure $condition = true)
No description
array
getBulkActions()
No description
array
getFlatBulkActions()
No description
BulkAction|null
getBulkAction(string $name)
No description
bool
isRecordSelectable(Model $record)
No description
int
getAllSelectableRecordsCount()
No description
HasBulkActions
selectable(bool|Closure|null $condition = true)
No description
bool
isSelectionEnabled()
No description
bool
selectsCurrentPageOnly()
No description
bool
checksIfRecordIsSelectable()
No description
HasBulkActions
recordCheckboxPosition(RecordCheckboxPosition|Closure|null $position = null)
No description
RecordCheckboxPosition
getRecordCheckboxPosition()
No description