Documentation

CRM_Contact_Form_Task_SMSCommon
in package

This class provides the common functionality for sending sms to one or a group of contact ids.

since 5.71 will be removed around 5.77.

Table of Contents

Constants

RECIEVED_SMS_ACTIVITY_SUBJECT  = "SMS Received"

Properties

$_allContactDetails  : mixed
$_contactDetails  : mixed
$_toContactPhone  : mixed

Methods

buildQuickForm()  : mixed
Build the form object.
formRule()  : bool|array<string|int, mixed>
Form rule.
postProcess()  : mixed
Process the form after the input has been submitted and validated.
preProcessProvider()  : mixed
Pre process the provider.

Constants

RECIEVED_SMS_ACTIVITY_SUBJECT

public mixed RECIEVED_SMS_ACTIVITY_SUBJECT = "SMS Received"

Properties

$_allContactDetails

public mixed $_allContactDetails = []

$_contactDetails

public mixed $_contactDetails = []

$_toContactPhone

public mixed $_toContactPhone = []

Methods

formRule()

Form rule.

public static formRule(array<string|int, mixed> $fields, array<string|int, mixed> $dontCare, self $self) : bool|array<string|int, mixed>
Parameters
$fields : array<string|int, mixed>

The input form values.

$dontCare : array<string|int, mixed>
$self : self

Additional values form 'this'.

Return values
bool|array<string|int, mixed>

true if no errors, else array of errors

postProcess()

Process the form after the input has been submitted and validated.

public static postProcess(CRM_Core_Form &$form) : mixed

since 5.71 will be removed around 5.77.

Parameters
$form : CRM_Core_Form

preProcessProvider()

Pre process the provider.

public static preProcessProvider(CRM_Core_Form &$form) : mixed

since 5.71 will be removed around 5.77.

Parameters
$form : CRM_Core_Form

        
On this page

Search results