ActionGroup
class ActionGroup extends ActionGroup implements Arrayable (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 |
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
array
toArray()
No description
static ActionGroup
fromArray(array $data)
No description