ActionGroup
class ActionGroup extends ActionGroup implements Arrayable (View source)
Traits
Constants
BADGE_VIEW |
|
BUTTON_VIEW |
|
GROUPED_VIEW |
|
ICON_BUTTON_VIEW |
|
LINK_VIEW |
|
Properties
protected string | $evaluationIdentifier | from EvaluatesClosures | |
static protected Closure>> | $macros | from Macroable | |
protected string | $view | from ViewComponent | |
protected string|Closure|null | $defaultView | from ViewComponent | |
protected array<string,mixed> | $viewData | from ViewComponent | |
protected string | $viewIdentifier | from ActionGroup | |
protected ActionGroup|null | $group | from BelongsToGroup | |
protected mixed | $authorization | from CanBeHidden | |
protected bool|Closure | $isHidden | from CanBeHidden | |
protected bool|Closure | $isVisible | from CanBeHidden | |
protected string|Closure|null | $labeledFrom | from CanBeLabeledFrom | |
protected bool|Closure | $isOutlined | from CanBeOutlined | |
protected bool|Closure | $hasDropdown | from HasDropdown | |
protected string|Closure|null | $dropdownPlacement | from HasDropdown | |
protected string|Closure|null | $dropdownMaxHeight | from HasDropdown | |
protected int|Closure|null | $dropdownOffset | from HasDropdown | |
protected MaxWidth|string|Closure|null | $dropdownWidth | from HasDropdown | |
protected string|Closure|null | $groupedIcon | from HasGroupedIcon | |
protected Htmlable|Closure|null | $label | from HasLabel | |
protected bool|Closure | $isLabelHidden | from HasLabel | |
protected bool | $shouldTranslateLabel | from HasLabel | |
protected ActionSize|string|Closure|null | $defaultSize | from HasSize | |
protected ActionSize|string|Closure|null | $size | from HasSize | |
protected string|Closure|null | $tooltip | from HasTooltip | |
protected string|int|float|Closure|null | $badge | from HasBadge | |
protected string | $badgeColor | from HasBadge | |
protected string|Closure|null | $badgeIcon | from HasBadge | |
protected IconPosition|string|Closure|null | $badgeIconPosition | from HasBadge | |
protected string | $color | from HasColor | |
protected string | $defaultColor | from HasColor | |
protected array | $extraAttributes | from HasExtraAttributes | |
protected Htmlable|Closure|null | $icon | from HasIcon | |
protected IconPosition|string|Closure|null | $iconPosition | from HasIcon | |
protected IconSize|string|Closure|null | $iconSize | from HasIcon | |
Action[] | $actions | ||
protected StaticAction> | $flatActions | from ActionGroup | |
protected Component | $livewire | from ActionGroup |
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
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
ViewComponent
view(string|null $view, array $viewData = [])
No description
ViewComponent
defaultView(string|Closure|null $view)
No description
protected array
extractPublicMethods()
No description
ViewComponent
viewData(array $data)
No description
string
getView()
No description
string|null
getDefaultView()
No description
string
toHtml()
No description
View
render()
No description
BelongsToGroup
group(ActionGroup|null $group)
No description
ActionGroup|null
getGroup()
No description
ActionGroup|null
getRootGroup()
No description
CanBeHidden
authorize(mixed $abilities, Model|string|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
isAuthorized()
No description
bool
isHidden()
No description
bool
isHiddenInGroup()
No description
bool
isVisible()
No description
CanBeLabeledFrom
labeledFrom(string|Closure|null $breakpoint = null)
No description
string|null
getLabeledFromBreakpoint()
No description
CanBeOutlined
outlined(bool|Closure $condition = true)
No description
bool
isOutlined()
No description
HasDropdown
dropdown(bool|Closure $condition = true)
No description
HasDropdown
dropdownPlacement(string|Closure|null $placement)
No description
HasDropdown
dropdownMaxHeight(string|Closure|null $height)
No description
HasDropdown
dropdownOffset(int|Closure|null $offset)
No description
HasDropdown
dropdownWidth(MaxWidth|string|Closure|null $width)
No description
string|null
getDropdownPlacement()
No description
string|null
getDropdownMaxHeight()
No description
int|null
getDropdownOffset()
No description
MaxWidth|string|null
getDropdownWidth()
No description
bool
hasDropdown()
No description
HasGroupedIcon
groupedIcon(string|Closure|null $icon)
No description
string|null
getGroupedIcon()
No description
HasLabel
disableLabel(bool|Closure $condition = true)
deprecated
deprecated
No description
HasLabel
hiddenLabel(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
defaultSize(ActionSize|string|Closure|null $size)
No description
HasSize
size(ActionSize|string|Closure|null $size)
No description
ActionSize|string|null
getDefaultSize()
No description
ActionSize|string|null
getSize()
No description
HasTooltip
tooltip(string|Closure|null $tooltip)
No description
string|null
getTooltip()
No description
HasBadge
badge(string|int|float|Closure|null $badge = null)
No description
HasBadge
indicator(string|int|float|Closure|null $indicator)
deprecated
deprecated
No description
HasBadge
badgeColor(string|array|Closure|null $color)
No description
HasBadge
badgeIcon(string|Closure|null $icon)
No description
HasBadge
badgeIconPosition(IconPosition|string|Closure|null $position)
No description
HasBadge
indicatorColor(string|array|Closure|null $color)
deprecated
deprecated
No description
string|int|float|null
getBadge()
No description
string|array|null
getBadgeColor()
No description
string|null
getBadgeIcon()
No description
IconPosition|string
getBadgeIconPosition()
No description
HasColor
color(string|array|Closure|null $color)
No description
HasColor
defaultColor(string|array|Closure|null $color)
No description
string|array|null
getColor()
No description
HasExtraAttributes
extraAttributes(array|Closure $attributes, bool $merge = false)
No description
array
getExtraAttributes()
No description
ComponentAttributeBag
getExtraAttributeBag()
No description
HasIcon
icon(Htmlable|Closure|null $icon)
No description
HasIcon
iconPosition(IconPosition|string|Closure|null $position)
No description
HasIcon
iconSize(IconSize|string|Closure|null $size)
No description
Htmlable|null
getIcon()
No description
IconPosition|string
getIconPosition()
No description
IconSize|string|null
getIconSize()
No description
__construct(array $actions)
No description
static ActionGroup
make(array $actions)
No description
ActionGroup
actions(array $actions)
No description
bool
isBadge()
No description
ActionGroup
button()
No description
bool
isButton()
No description
ActionGroup
grouped()
No description
ActionGroup
iconButton()
No description
bool
isIconButton()
No description
ActionGroup
link()
No description
bool
isLink()
No description
HasLivewire
livewire(Component $livewire)
No description
object
getLivewire()
No description
array
getActions()
No description
array
getFlatActions()
No description
array
toArray()
No description
static ActionGroup
fromArray(array $data)
No description
static protected bool
isViewSafe(string $view)
No description