ActionHandlerHelper
class ActionHandlerHelper implements ItemListInterface, CollectionActionHandlerInterface
Traits
Constants
| TRIGGER_DEFAULT |
|
Methods
Bind possible action to trigger
No description
Return collection if is set
No description
Return actions that are registered in this handler for a specific trigger
No description
Send Feedback Messages
No description
Trigger and Execute all actions or Execute specific action for specific trigger
Details
at line 44
ActionHandlerHelper
addAction(ActionHelper $actionHelper, string $trigger = self::TRIGGER_DEFAULT)
Bind possible action to trigger
in
ItemListTrait at line 147
int
count()
No description
in
ItemListTrait at line 37
static ItemListTrait
create(ItemInterface ...$items)
No description
in
ItemListTrait at line 96
ItemInterface|null
first()
Get first element
at line 212
string|null
getActionHandlerEndpoint()
No description
at line 178
Collection|null
getCollection()
Return collection if is set
in
ItemListTrait at line 57
array
getItems()
No description
at line 17
ActionHelper[]
getIterator()
No description
at line 189
array
getRegisteredActions(string $trigger)
Return actions that are registered in this handler for a specific trigger
in
ItemListTrait at line 154
array
jsonSerialize()
No description
in
ItemListTrait at line 88
ItemInterface|null
last()
Return the last element
in
ItemListTrait at line 116
bool
offsetExists($offset)
No description
at line 17
ActionHelper
offsetGet(mixed $offset)
No description
in
ItemListTrait at line 133
void
offsetSet($offset, $value)
No description
in
ItemListTrait at line 140
void
offsetUnset($offset)
No description
at line 55
int
push(ItemInterface $item)
No description
at line 120
void
sendFeedbackAsFlashMessages()
Send Feedback Messages
at line 204
ActionHandlerHelper
setActionHandlerEndpoint(string|null $actionHandlerEndpoint)
No description
at line 168
CollectionActionHandlerInterface
setCollection(Collection $collection)
Set collection for CollectionActionHelper
in
ItemListTrait at line 66
void
setItems(array $items)
No description
in
ItemListTrait at line 74
array
toArray()
Transforms the option into an array.
at line 73
bool|null
triggerAction(string $actionKey = null, string $trigger = self::TRIGGER_DEFAULT)
Trigger and Execute all actions or Execute specific action for specific trigger
in
ItemListTrait at line 49
int
unshift(ItemInterface $item)
No description