CRM_Contact_Form_Edit_CommunicationPreferences
class CRM_Contact_Form_Edit_CommunicationPreferences
Form helper class for an Communication Preferences object.
Properties
static array | $greetings | Greetings. |
Methods
static
buildQuickForm(CRM_Core_Form $form)
Build the form object elements for Communication Preferences object.
static bool|array
formRule(array $fields, array $files, CRM_Contact_Form_Edit_CommunicationPreferences $self)
Global form rule.
static
static
getGreetingFields(string $contactType)
Set array of greeting fields.
Details
at line 52
static
buildQuickForm(CRM_Core_Form $form)
Build the form object elements for Communication Preferences object.
at line 129
static bool|array
formRule(array $fields, array $files, CRM_Contact_Form_Edit_CommunicationPreferences $self)
Global form rule.
at line 154
static
setDefaultValues(CRM_Core_Form $form, array $defaults)
Set default values for the form.
at line 203
static
getGreetingFields(string $contactType)
Set array of greeting fields.