Documentation

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


        
On this page

Search results