include/workflow/alert_utils.php
Functions
compile_rel_user_info(
$target_object, $user_meta_array, $address_array
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$target_object | ||
$user_meta_array | ||
$address_array |
create_email_body(
$focus, $mail_object, $admin, $alert_msg, $alert_shell_array, $notify_user_id
=
""
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$focus | ||
$mail_object | ||
$admin | ||
$alert_msg | ||
$alert_shell_array | ||
$notify_user_id |
fill_mail_object(
$mail_object, $focus, $template_id, $source_field, $notify_user_id
=
""
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$mail_object | ||
$focus | ||
$template_id | ||
$source_field | ||
$notify_user_id |
get_alert_recipient_from_custom_fields(
$target_module, $target_email, $target_name
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$target_module | ||
$target_email | ||
$target_name |
get_invite_email(
$focus, $admin, $address_array, $invite_person, $alert_msg, $alert_shell_array
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$focus | ||
$admin | ||
$address_array | ||
$invite_person | ||
$alert_msg | ||
$alert_shell_array |
get_invite_link(
$focus, $notify_user_id
=
""
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$focus | ||
$notify_user_id |
get_related_array(
$focus, $user_meta_array, $address_array
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$focus | ||
$user_meta_array | ||
$address_array |
get_system_default_body(
$mail_object, $focus, $notify_user
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$mail_object | ||
$focus | ||
$notify_user |
get_user_alert_details(
$focus, $user_meta_array, $address_array
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$focus | ||
$user_meta_array | ||
$address_array |
parse_alert_template(
$focus, $target_body, $notify_user_id
=
""
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$focus | ||
$target_body | ||
$notify_user_id |
parse_target_body(
$target_body, $base_module
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$target_body | ||
$base_module |
populate_usr_con_arrays(
$user_info_array, $users_arr, $contacts_arr
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$user_info_array | ||
$users_arr | ||
$contacts_arr |
process_workflow_alerts(
$target_module, $alert_user_array, $alert_shell_array, $check_for_bridge
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$target_module | ||
$alert_user_array | ||
$alert_shell_array | ||
$check_for_bridge |
reconstruct_target_body(
$focus, $target_body, $component_array, $notify_user_id
=
""
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$focus | ||
$target_body | ||
$component_array | ||
$notify_user_id |
replace_target_body_items(
$target_body, $replace_array
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$target_body | ||
$replace_array |
send_mail_object(
$mail_object, $error
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$mail_object | ||
$error |
send_workflow_alert(
$focus, $address_array, $alert_msg, $admin, $alert_shell_array, $check_for_bridge
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$focus | ||
$address_array | ||
$alert_msg | ||
$admin | ||
$alert_shell_array | ||
$check_for_bridge |