}
/**
- *
* Prepares the text and html templates
* for generating the emails and returns a copy of the
* prepared templates
+ *
+ * @deprecated
+ * This is used by CiviMail but will be made redundant by FlexMailer/TokenProcessor.
*/
private function getPreparedTemplates() {
if (!$this->preparedTemplates) {
/**
* Compose a message.
*
+ * @deprecated
+ * This is used by CiviMail but will be made redundant by FlexMailer/TokenProcessor.
* @param int $job_id
* ID of the Job associated with this message.
* @param int $event_queue_id
*
* Get mailing object and replaces subscribeInvite, domain and mailing tokens.
*
+ * @deprecated
+ * This is used by CiviMail but will be made redundant by FlexMailer/TokenProcessor.
* @param CRM_Mailing_BAO_Mailing $mailing
*/
public static function tokenReplace(&$mailing) {
/**
* Get data to resolve tokens.
*
+ * @deprecated
+ * This is used by CiviMail but will be made redundant by FlexMailer/TokenProcessor.
+ *
* @param array $token_a
* @param bool $html
* Whether to encode the token result for use in HTML email
}
/**
+ * @deprecated
+ * This is used by CiviMail but will be made redundant by FlexMailer/TokenProcessor.
* @return array
*/
public function getReturnProperties() {
/**
* Send the mailing.
*
+ * @deprecated
+ * This is used by CiviMail but will be made redundant by FlexMailer.
* @param object $mailer
* A Mail object to send the messages.
*
* @param array $testParams
+ * @return bool
*/
public function deliver(&$mailer, $testParams = NULL) {
if (\Civi::settings()->get('experimentalFlexMailerEngine')) {
}
/**
+ * @deprecated
+ * This is used by CiviMail but will be made redundant by FlexMailer.
* @param array $fields
* List of intended recipients.
* Each recipient is an array with keys 'hash', 'contact_id', 'email', etc.