ActionHelper
class ActionHelper implements ItemInterface
Traits
Constants
| FEEDBACK_SUCCESS |
|
| FEEDBACK_ERROR |
|
| FEEDBACK_NOTE |
|
| FEEDBACK_WARNING |
|
Methods
string
__toString()
No description
static ActionHelper
create(string $key, string $title)
Create Action
static ActionHelper
bool
execute()
Execute callback
I18nTokenHelper|null
getConfirmationQuestion()
No description
I18nTokenHelper|null
getFeedbackMessage(string|null $feedbackType)
No description
bool
getIsDownload()
No description
array
jsonSerialize()
Transforms the array structure of this option into a JSON string.
from
ItemTrait
onExecuteCallback(callable $invokeFn)
No description
setConfirmationQuestion(I18nTokenHelper|null $confirmationText = null)
No description
setFeedbackMessage(I18nTokenHelper $feedbackMessage, string $feedbackType = self::FEEDBACK_SUCCESS)
No description
setIsDownload(bool $isDownload)
No description
array
toArray()
No description
Details
at line 115
string
__toString()
No description
at line 41
static ActionHelper
create(string $key, string $title)
Create Action
at line 51
static ActionHelper
createFromOption(Option $actionOption)
No description
at line 92
bool
execute()
Execute callback
at line 64
I18nTokenHelper|null
getConfirmationQuestion()
No description
at line 73
I18nTokenHelper|null
getFeedbackMessage(string|null $feedbackType)
No description
at line 83
bool
getIsDownload()
No description
at line 122
Option
getOption()
No description
in
ItemTrait at line 13
array
jsonSerialize()
Transforms the array structure of this option into a JSON string.
at line 105
ActionHelper
onExecuteCallback(callable $invokeFn)
No description
at line 59
ActionHelper
setConfirmationQuestion(I18nTokenHelper|null $confirmationText = null)
No description
at line 68
ActionHelper
setFeedbackMessage(I18nTokenHelper $feedbackMessage, string $feedbackType = self::FEEDBACK_SUCCESS)
No description
at line 78
ActionHelper
setIsDownload(bool $isDownload)
No description
at line 111
array
toArray()
No description