include/workflow/action_utils.php
Functions
clean_save_data(
$target_module, $action_array
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $target_module | ||
| $action_array |
get_expiry_date(
string $stamp_type, int $time_interval, bool $user_format
=
false, bool $is_update
=
false, string $value
=
null
)
:
voidParse date from certain type and add interval to it
Parameters
| Name | Type | Description |
|---|---|---|
| $stamp_type | string | Type (date, time, datetime) |
| $time_interval | int | Interval, seconds |
| $user_format | bool | Date is in user format? |
| $is_update | bool | Is it update for existing field? |
| $value | string | Date value (if update) |
process_action_new(
$focus, $action_array
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $focus | ||
| $action_array |
process_action_new_rel(
$focus, $action_array
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $focus | ||
| $action_array |
process_action_update(
$focus, $action_array
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $focus | ||
| $action_array |
process_action_update_rel(
$focus, $action_array
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $focus | ||
| $action_array |