class CRM_Contact_Form_Task_SMSCommon

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

Constants

RECIEVED_SMS_ACTIVITY_SUBJECT

Properties

$_contactDetails
$_allContactDetails
$_toContactPhone

Methods

static 
preProcessProvider(CRM_Core_Form $form)

Pre process the provider.

static 
buildQuickForm(CRM_Core_Form $form)

Build the form object.

static bool|array
formRule(array $fields, array $dontCare, array $self)

Form rule.

static 
postProcess(CRM_Core_Form $form)

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

Details

at line 52
static preProcessProvider(CRM_Core_Form $form)

Pre process the provider.

Parameters

CRM_Core_Form $form

at line 89
static buildQuickForm(CRM_Core_Form $form)

Build the form object.

Parameters

CRM_Core_Form $form

at line 312
static bool|array formRule(array $fields, array $dontCare, array $self)

Form rule.

Parameters

array $fields The input form values.
array $dontCare
array $self Additional values form 'this'.

Return Value

bool|array true if no errors, else array of errors

at line 343
static postProcess(CRM_Core_Form $form)

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

Parameters

CRM_Core_Form $form