CRM_Contact_Form_Task_EmailCommon
in package
This class provides the common functionality for sending email to one or a group of contact ids. This class is reused by all the search components in CiviCRM (since they all have send email as a task)
Table of Contents
Methods
- formRule() : bool|array<string|int, mixed>
- Form rule.
- preProcessFromAddress() : mixed
- Pre Process Form Addresses to be used in Quickform
Methods
formRule()
Form rule.
public
static formRule(array<string|int, mixed> $fields) : bool|array<string|int, mixed>
Parameters
- $fields : array<string|int, mixed>
-
The input form values.
Return values
bool|array<string|int, mixed> —true if no errors, else array of errors
preProcessFromAddress()
Pre Process Form Addresses to be used in Quickform
public
static preProcessFromAddress(CRM_Contribute_Form_Task_Invoice &$form[, bool $bounce = TRUE ]) : mixed
This doesn't really do much - use part should be transferred back to caller and noisy deprecation added.
Parameters
- $form : CRM_Contribute_Form_Task_Invoice
- $bounce : bool = TRUE
-
determine if we want to throw a status bounce.