class SetFieldAction extends xelos_workflows_action_base

Workflow action hook to change the value of a field in the list item payload.

Traits

Properties

ListsController $mod

Methods

array
get_fdl()

Get form definition settings

get_ui_form(array|string $form_params = [])

Overwrites the parent form because a lists module in a group context sets the wrong action URL, e.g. a list module installed in the groups instance projects would link to /projects_list/.

get_user_interface()

Action UI-Interface

has_ui_action()

No description

bool
process()

Set the item field to the selected value

Details

at line 32
array get_fdl()

Get form definition settings

Return Value

array

at line 177
Form get_ui_form(array|string $form_params = [])

Overwrites the parent form because a lists module in a group context sets the wrong action URL, e.g. a list module installed in the groups instance projects would link to /projects_list/.

..

Parameters

array|string $form_params

FormName if string

Return Value

Form

See also

\XELOS\Modules\Lists\Hook\Workflows\xelos_workflows_action_base::get_ui_form()

at line 189
get_user_interface()

Action UI-Interface

at line 163
has_ui_action()

No description

at line 239
bool process()

Set the item field to the selected value

Return Value

bool

Exceptions

Exception

$XF->lib->error->log Exception