$this->setContactIDs();
$skipOnHold = isset($this->skipOnHold) ? $this->skipOnHold : FALSE;
$skipDeceased = isset($this->skipDeceased) ? $this->skipDeceased : TRUE;
- CRM_Member_Form_Task_PDFLetterCommon::postProcess($this, $this->_memberIds, $skipOnHold, $skipDeceased, $this->_contactIds);
+ CRM_Member_Form_Task_PDFLetterCommon::postProcessMembers(
+ $this, $this->_memberIds, $skipOnHold, $skipDeceased, $this->_contactIds
+ );
}
/**
*/
static function postProcess(&$form, $membershipIDs, $skipOnHold, $skipDeceased, $contactIDs) {
- list($formValues, $categories, $html_message, $messageToken, $returnProperties) = self::processMessageTemplate($form);
+ list($formValues, $categories, $html_message, $messageToken, $returnProperties) =
+ self::processMessageTemplate($form);
- $html = self::generateHTML($membershipIDs, $returnProperties, $skipOnHold, $skipDeceased, $messageToken, $html_message, $categories);
+ $html =
+ self::generateHTML(
+ $membershipIDs,
+ $returnProperties,
+ $skipOnHold,
+ $skipDeceased,
+ $messageToken,
+ $html_message,
+ $categories
+ );
self::createActivities($form, $html_message, $contactIDs);
CRM_Utils_PDF_Utils::html2pdf($html, "CiviLetter.pdf", FALSE, $formValues);