FormActionHelper
class FormActionHelper extends CollectionActionHelper
Use this action for form actions based on a single model
Traits
Constants
| FEEDBACK_SUCCESS |
|
| FEEDBACK_ERROR |
|
| FEEDBACK_NOTE |
|
| FEEDBACK_WARNING |
|
Methods
No description
Which type of collection is expected?
Transforms the array structure of this option into a JSON string.
No description
No description
No description
Conditions can only be applied to Collections which are scopable
Details
in
ActionHelper at line 115
string
__toString()
No description
in
ActionHelper at line 41
static ActionHelper
create(string $key, string $title)
Create Action
in
ActionHelper at line 51
static ActionHelper
createFromOption(Option $actionOption)
No description
at line 20
bool
execute()
No description
in
CollectionActionHelper at line 51
CollectionActionHelper
expects(string $collectionClass)
Which type of collection is expected?
in
CollectionActionHelper at line 40
Collection|null
getCollection()
No description
in
ActionHelper at line 64
I18nTokenHelper|null
getConfirmationQuestion()
No description
in
ActionHelper at line 73
I18nTokenHelper|null
getFeedbackMessage(string|null $feedbackType)
No description
at line 68
Form
getForm()
No description
in
ActionHelper at line 83
bool
getIsDownload()
No description
in
ActionHelper 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.
in
ActionHelper at line 105
ActionHelper
onExecuteCallback(callable $invokeFn)
No description
in
CollectionActionHelper at line 103
CollectionActionHelper
onExecuteInvoke(string $invokeMethod)
No description
in
CollectionActionHelper at line 24
CollectionActionHelper
setCollection(Collection $collection)
Pass the collection for the actions to be based upon.
The collection will be cloned, further modifications and filters to the original object are not considered
in
ActionHelper at line 59
ActionHelper
setConfirmationQuestion(I18nTokenHelper|null $confirmationText = null)
No description
in
ActionHelper at line 68
ActionHelper
setFeedbackMessage(I18nTokenHelper $feedbackMessage, string $feedbackType = self::FEEDBACK_SUCCESS)
No description
at line 60
FormActionHelper
setForm(Form $form)
No description
in
ActionHelper at line 78
ActionHelper
setIsDownload(bool $isDownload)
No description
in
ActionHelper at line 111
array
toArray()
No description
in
CollectionActionHelper at line 68
CollectionActionHelper
when(ConditionGroup $condition)
Conditions can only be applied to Collections which are scopable