CRM_Member_Form_Task_PDFLetterCommon
class CRM_Member_Form_Task_PDFLetterCommon extends CRM_Contact_Form_Task_PDFLetterCommon
This class provides the common functionality for creating PDF letter for members
Methods
static
static
static bool
formRule(array $fields, array $files, array $self)
Form rule.
static array
processMessageTemplate(array $formValues)
Part of the post process which prepare and extract information from the template.
static
static array
static
postProcessMembers(CRM_Core_Form $form, $membershipIDs, $skipOnHold, $skipDeceased, $contactIDs)
Process the form after the input has been submitted and validated.
static array
generateHTML(array $membershipIDs, array $returnProperties, bool $skipOnHold, bool $skipDeceased, array $messageToken, $html_message, $categories)
Generate htmlfor pdf letters.
Details
in CRM_Contact_Form_Task_PDFLetterCommon at line 43
static array
getLoggingOptions()
in CRM_Contact_Form_Task_PDFLetterCommon at line 58
static
preProcess(CRM_Core_Form $form)
Build all the data structures needed to build the form.
in CRM_Contact_Form_Task_PDFLetterCommon at line 78
static
preProcessSingle(CRM_Core_Form $form, int $cid)
in CRM_Contact_Form_Task_PDFLetterCommon at line 89
static
buildQuickForm($form)
Build the form object.
in CRM_Contact_Form_Task_PDFLetterCommon at line 220
static
setDefaultValues()
Set default values.
in CRM_Contact_Form_Task_PDFLetterCommon at line 238
static bool
formRule(array $fields, array $files, array $self)
Form rule.
in CRM_Contact_Form_Task_PDFLetterCommon at line 277
static array
processMessageTemplate(array $formValues)
Part of the post process which prepare and extract information from the template.
in CRM_Contact_Form_Task_PDFLetterCommon at line 356
static
postProcess(CRM_Core_Form $form)
Process the form after the input has been submitted and validated.
in CRM_Contact_Form_Task_PDFLetterCommon at line 473
static array
createActivities(CRM_Core_Form $form, string $html_message, array $contactIds)
in CRM_Contact_Form_Task_PDFLetterCommon at line 545
static
formatMessage($message)
at line 20
static
postProcessMembers(CRM_Core_Form $form, $membershipIDs, $skipOnHold, $skipDeceased, $contactIDs)
Process the form after the input has been submitted and validated.
at line 56
static array
generateHTML(array $membershipIDs, array $returnProperties, bool $skipOnHold, bool $skipDeceased, array $messageToken, $html_message, $categories)
Generate htmlfor pdf letters.