RecipientBuilder
class RecipientBuilder
Class RecipientBuilder
Constants
PHASE_RELATION_FIRST |
Generate action_log's for new, first-time alerts to related contacts. |
PHASE_ADDITION_FIRST |
Generate action_log's for new, first-time alerts to additional contacts. |
PHASE_RELATION_REPEAT |
Generate action_log's for repeated, follow-up alerts to related contacts. |
PHASE_ADDITION_REPEAT |
Generate action_log's for repeated, follow-up alerts to additional contacts. |
Methods
No description
Fill the civicrm_action_log with any new/missing TODOs.
Generate action_log's for new, first-time alerts to related contacts.
Generate action_log's for new, first-time alerts to additional contacts.
Generate action_log's for repeated, follow-up alerts to related contacts.
Generate action_log's for repeated, follow-up alerts to additional contacts.
No description
Parse repetition interval.
Prepare filter options for limiting by contact ID or group ID.
Prepare language filter.
No description
No description
No description
No description
Generate a query fragment like for populating action logs, e.g.
Generate a query fragment like for populating action logs, e.g.
Add a JOIN clause like "INNER JOIN civicrm_action_log reminder ON.
Details
at line 144
__construct($now, CRM_Core_DAO_ActionSchedule $actionSchedule, MappingInterface $mapping)
at line 155
build()
Fill the civicrm_action_log with any new/missing TODOs.
at line 176
protected
buildRelFirstPass()
Generate action_log's for new, first-time alerts to related contacts.
at line 240
protected
buildAddlFirstPass()
Generate action_log's for new, first-time alerts to additional contacts.
at line 269
protected
buildRelRepeatPass()
Generate action_log's for repeated, follow-up alerts to related contacts.
at line 312
protected
buildAddlRepeatPass()
Generate action_log's for repeated, follow-up alerts to additional contacts.
at line 360
protected CRM_Utils_SQL_Select
prepareQuery(string $phase)
at line 392
protected int|string
parseRepetitionInterval()
Parse repetition interval.
at line 418
protected CRM_Utils_SQL_Select
prepareContactFilter(string $contactIdField)
Prepare filter options for limiting by contact ID or group ID.
at line 449
protected string
prepareLanguageFilter(string $contactTableAlias)
Prepare language filter.
at line 469
protected array
prepareStartDateClauses()
at line 495
protected bool
isSmartGroup(int $groupId)
at line 520
protected CRM_Utils_SQL_Select
prepareRepetitionEndFilter(string $dateField)
at line 535
protected CRM_Utils_SQL_Select|null
prepareAddlFilter(string $contactIdField)
at line 554
protected CRM_Utils_SQL_Select
selectActionLogFields(string $phase, CRM_Utils_SQL_Select $query)
Generate a query fragment like for populating action logs, e.g.
"SELECT contact_id, entity_id, entity_table, action schedule_id"
at line 603
protected CRM_Utils_SQL_Select
selectIntoActionLog(string $phase, CRM_Utils_SQL_Select $query)
Generate a query fragment like for populating action logs, e.g.
"INSERT INTO civicrm_action_log (...) SELECT (...)"
at line 631
protected CRM_Utils_SQL_Select
joinReminder(string $joinType, string $for, CRM_Utils_SQL_Select $query)
Add a JOIN clause like "INNER JOIN civicrm_action_log reminder ON.
..".