CRM_Contact_Form_Task_LabelCommon
class CRM_Contact_Form_Task_LabelCommon
This class provides the common functionality for sending email to one or a group of contact ids.
Methods
static
createLabel(array $contactRows, string $format, string $fileName = 'MailingLabels_CiviCRM.pdf')
Create labels (pdf).
static array
getRows($contactIDs, int $locationTypeID, bool $respectDoNotMail, $mergeSameAddress, bool $mergeSameHousehold)
Get the rows for the labels.
static array
getAddressReturnProperties()
Get array of return properties for address fields required for mailing label.
static array
getTokenData(array $contacts)
Get token list from mailing format & contacts
array
mergeSameHousehold(array $rows)
No description
Details
at line 49
static
createLabel(array $contactRows, string $format, string $fileName = 'MailingLabels_CiviCRM.pdf')
Create labels (pdf).
at line 80
static array
getRows($contactIDs, int $locationTypeID, bool $respectDoNotMail, $mergeSameAddress, bool $mergeSameHousehold)
Get the rows for the labels.
at line 252
static array
getAddressReturnProperties()
Get array of return properties for address fields required for mailing label.
at line 269
static array
getTokenData(array $contacts)
Get token list from mailing format & contacts