ActionGroup
class ActionGroup extends ActionGroup (View source)
Traits
Properties
static protected array | $configurations | from Configurable | |
static protected array | $importantConfigurations | from Configurable | |
protected string | $evaluationIdentifier | from EvaluatesClosures | |
protected array | $evaluationParametersToRemove | from EvaluatesClosures | |
protected string | $view | ||
protected array | $viewData | from ViewComponent | |
protected string | $viewIdentifier | from ActionGroup | |
static protected array | $propertyCache | from ViewComponent | |
static protected array | $methodCache | from ViewComponent | |
protected | $authorization | from CanBeHidden | |
protected bool|Closure | $isHidden | from CanBeHidden | |
protected bool|Closure | $isVisible | from CanBeHidden | |
protected string|Closure|null | $color | from HasColor | |
protected string|Closure|null | $icon | from HasIcon | |
protected string|Closure|null | $iconPosition | from HasIcon | |
protected Htmlable|Closure|null | $label | from HasLabel | |
protected bool|Closure | $isLabelHidden | from HasLabel | |
protected bool | $shouldTranslateLabel | from HasLabel | |
protected string|Closure|null | $size | from HasSize | |
protected string|Closure|null | $tooltip | from HasTooltip | |
protected Model|Closure|null | $record | from InteractsWithRecord | |
protected string|Closure|null | $model | from InteractsWithRecord | |
protected string|Closure|null | $modelLabel | from InteractsWithRecord | |
protected string|Closure|null | $pluralModelLabel | from InteractsWithRecord | |
protected string|Closure|null | $recordTitle | from InteractsWithRecord |
Methods
No description
No description
No description
No description
No description
No description
Details
static
configureUsing(Closure $callback, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
evaluate($value, array $parameters = [], array $exceptParameters = [])
No description
protected array
getDefaultEvaluationParameters()
No description
protected
resolveEvaluationParameter(string $parameter, Closure $value)
No description
protected bool
isEvaluationParameterRemoved(string $parameter)
No description
ViewComponent
view(string $view, array $viewData = [])
No description
protected array
extractPublicProperties()
No description
protected array
extractPublicMethods()
No description
ViewComponent
viewData(array $data)
No description
string
getView()
No description
string
toHtml()
No description
View
render()
No description
CanBeHidden
authorize($abilities, Model|array|null $arguments = null)
No description
CanBeHidden
authorizeAny(string|array $abilities, Model|array|null $arguments = null)
No description
protected array
parseAuthorizationArguments(array $arguments)
No description
CanBeHidden
hidden(bool|Closure $condition = true)
No description
CanBeHidden
visible(bool|Closure $condition = true)
No description
bool
isHidden()
No description
bool
isAuthorized()
No description
HasColor
color(string|Closure|null $color)
No description
string|null
getColor()
No description
HasIcon
icon(string|Closure|null $icon)
No description
HasIcon
iconPosition(string|Closure|null $position)
No description
string|null
getIcon()
No description
string|null
getIconPosition()
No description
HasLabel
disableLabel(bool|Closure $condition = true)
No description
HasLabel
label(Htmlable|Closure|null $label)
No description
HasLabel
translateLabel(bool $shouldTranslateLabel = true)
No description
Htmlable|null
getLabel()
No description
bool
isLabelHidden()
No description
HasSize
size(string|Closure|null $size)
No description
string|null
getSize()
No description
HasTooltip
tooltip(string|Closure|null $tooltip)
No description
string|null
getTooltip()
No description
__construct(array $actions)
No description
static ActionGroup
make(array $actions)
No description
array
getActions()
No description
InteractsWithRecord
record(Model|Closure|null $record)
No description
InteractsWithRecord
model(string|Closure|null $model)
No description
InteractsWithRecord
modelLabel(string|Closure|null $label)
No description
InteractsWithRecord
pluralModelLabel(string|Closure|null $label)
No description
InteractsWithRecord
recordTitle(string|Closure|null $title)
No description
Model|null
getRecord()
No description
string|null
getRecordTitle(Model|null $record = null)
No description
string|null
getCustomRecordTitle(Model|null $record = null)
No description
string|null
getModel()
No description
string|null
getCustomModel()
No description
string|null
getModelLabel()
No description
string|null
getCustomModelLabel()
No description
string|null
getPluralModelLabel()
No description
string|null
getCustomPluralModelLabel()
No description