/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
*
* Generated from xml/schema/CRM/Core/ActionSchedule.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4d6dca3786a9d3ab90b492be017b045b)
+ * (GenCodeChecksum:85a8d533121c249efe209a29f8225aea)
*/
/**
*
* @var string
*/
- static $_tableName = 'civicrm_action_schedule';
+ public static $_tableName = 'civicrm_action_schedule';
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var bool
*/
- static $_log = FALSE;
+ public static $_log = FALSE;
/**
* @var int unsigned
*/
public static function getReferenceColumns() {
if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__);
+ Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'group_id', 'civicrm_group', 'id');
Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'msg_template_id', 'civicrm_msg_template', 'id');
Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'sms_template_id', 'civicrm_msg_template', 'id');
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Action Schedule ID'),
'required' => TRUE,
+ 'where' => 'civicrm_action_schedule.id',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'description' => ts('Name of the action(reminder)'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'where' => 'civicrm_action_schedule.name',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'description' => ts('Title of the action(reminder)'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'where' => 'civicrm_action_schedule.title',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'description' => ts('Recipient'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'where' => 'civicrm_action_schedule.recipient',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Limit To'),
'description' => ts('Is this the recipient criteria limited to OR in addition to?'),
+ 'where' => 'civicrm_action_schedule.limit_to',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'description' => ts('Entity value'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_action_schedule.entity_value',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'description' => ts('Entity status'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'where' => 'civicrm_action_schedule.entity_status',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Start Action Offset'),
'description' => ts('Reminder Interval.'),
+ 'where' => 'civicrm_action_schedule.start_action_offset',
'default' => '0',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'description' => ts('Time units for reminder.'),
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'where' => 'civicrm_action_schedule.start_action_unit',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'description' => ts('Reminder Action'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'where' => 'civicrm_action_schedule.start_action_condition',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'description' => ts('Entity date'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'where' => 'civicrm_action_schedule.start_action_date',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'name' => 'is_repeat',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Repeat?'),
+ 'where' => 'civicrm_action_schedule.is_repeat',
'default' => '0',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'description' => ts('Time units for repetition of reminder.'),
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'where' => 'civicrm_action_schedule.repetition_frequency_unit',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Repetition Frequency Interval'),
'description' => ts('Time interval for repeating the reminder.'),
+ 'where' => 'civicrm_action_schedule.repetition_frequency_interval',
'default' => '0',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'description' => ts('Time units till repetition of reminder.'),
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'where' => 'civicrm_action_schedule.end_frequency_unit',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('End Frequency Interval'),
'description' => ts('Time interval till repeating the reminder.'),
+ 'where' => 'civicrm_action_schedule.end_frequency_interval',
'default' => '0',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'description' => ts('Reminder Action till repeating the reminder.'),
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
+ 'where' => 'civicrm_action_schedule.end_action',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'description' => ts('Entity end date'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'where' => 'civicrm_action_schedule.end_date',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Schedule is Active?'),
'description' => ts('Is this option active?'),
+ 'where' => 'civicrm_action_schedule.is_active',
'default' => '1',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'description' => ts('Contact IDs to which reminder should be sent.'),
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_action_schedule.recipient_manual',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'description' => ts('listing based on recipient field.'),
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_action_schedule.recipient_listing',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Reminder Text'),
'description' => ts('Body of the mailing in text format.'),
+ 'where' => 'civicrm_action_schedule.body_text',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Reminder HTML'),
'description' => ts('Body of the mailing in html format.'),
+ 'where' => 'civicrm_action_schedule.body_html',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('SMS Reminder Text'),
'description' => ts('Content of the SMS text.'),
+ 'where' => 'civicrm_action_schedule.sms_body_text',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'description' => ts('Subject of mailing'),
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_action_schedule.subject',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Record Activity for Reminder?'),
'description' => ts('Record Activity for this reminder?'),
+ 'where' => 'civicrm_action_schedule.record_activity',
'default' => 'NULL',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'description' => ts('Name/ID of the mapping to use on this table'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'where' => 'civicrm_action_schedule.mapping_id',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Reminder Group'),
'description' => ts('FK to Group'),
+ 'where' => 'civicrm_action_schedule.group_id',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Reminder Template'),
'description' => ts('FK to the message template.'),
+ 'where' => 'civicrm_action_schedule.msg_template_id',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('SMS Reminder Template'),
'description' => ts('FK to the message template.'),
+ 'where' => 'civicrm_action_schedule.sms_template_id',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'type' => CRM_Utils_Type::T_DATE,
'title' => ts('Fixed Date for Reminder'),
'description' => ts('Date on which the reminder be sent.'),
+ 'where' => 'civicrm_action_schedule.absolute_date',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'description' => ts('Name in "from" field'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_action_schedule.from_name',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'description' => ts('Email address in "from" field'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_action_schedule.from_email',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'description' => ts('Send the message as email or sms or both.'),
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_action_schedule.mode',
'default' => 'Email',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'name' => 'sms_provider_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('SMS Provider'),
+ 'where' => 'civicrm_action_schedule.sms_provider_id',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'description' => ts('Used for repeating entity'),
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'where' => 'civicrm_action_schedule.used_for',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'description' => ts('Used for multilingual installation'),
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_action_schedule.filter_contact_language',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',
'description' => ts('Used for multilingual installation'),
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'where' => 'civicrm_action_schedule.communication_language',
'table_name' => 'civicrm_action_schedule',
'entity' => 'ActionSchedule',
'bao' => 'CRM_Core_BAO_ActionSchedule',