*
* Generated from xml/schema/CRM/Core/ActionSchedule.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:06960967b276e6b2b7cd31a7ded61c03)
+ * (GenCodeChecksum:d158b2da297ca83e4210a3fa0da8d5eb)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_Core_DAO_ActionSchedule constructor.
+ */
class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
/**
- * static instance to hold the table name
+ * Static instance to hold the table name.
*
* @var string
*/
static $_tableName = 'civicrm_action_schedule';
/**
- * static value to see if we should log any modifications to
- * this table in the civicrm_log table
+ * Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var boolean
*/
*/
public $communication_language;
/**
- * class constructor
- *
- * @return civicrm_action_schedule
+ * Class constructor.
*/
function __construct() {
$this->__table = 'civicrm_action_schedule';
parent::__construct();
}
/**
- * Returns foreign keys and entity references
+ * Returns foreign keys and entity references.
*
* @return array
* [CRM_Core_Reference_Interface]
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Action Schedule ID') ,
'required' => true,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'name' => array(
'name' => 'name',
'description' => 'Name of the action(reminder)',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'title' => array(
'name' => 'title',
'description' => 'Title of the action(reminder)',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'recipient' => array(
'name' => 'recipient',
'description' => 'Recipient',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'limit_to' => array(
'name' => 'limit_to',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Limit To') ,
'description' => 'Is this the recipient criteria limited to OR in addition to?',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'entity_value' => array(
'name' => 'entity_value',
'description' => 'Entity value',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'entity_status' => array(
'name' => 'entity_status',
'description' => 'Entity status',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'start_action_offset' => array(
'name' => 'start_action_offset',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Start Action Offset') ,
'description' => 'Reminder Interval.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'start_action_unit' => array(
'name' => 'start_action_unit',
'description' => 'Time units for reminder.',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select',
) ,
'description' => 'Reminder Action',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'start_action_date' => array(
'name' => 'start_action_date',
'description' => 'Entity date',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'is_repeat' => array(
'name' => 'is_repeat',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Repeat?') ,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'repetition_frequency_unit' => array(
'name' => 'repetition_frequency_unit',
'description' => 'Time units for repetition of reminder.',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Repetition Frequency Interval') ,
'description' => 'Time interval for repeating the reminder.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'end_frequency_unit' => array(
'name' => 'end_frequency_unit',
'description' => 'Time units till repetition of reminder.',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select',
) ,
'type' => CRM_Utils_Type::T_INT,
'title' => ts('End Frequency Interval') ,
'description' => 'Time interval till repeating the reminder.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'end_action' => array(
'name' => 'end_action',
'description' => 'Reminder Action till repeating the reminder.',
'maxlength' => 32,
'size' => CRM_Utils_Type::MEDIUM,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'end_date' => array(
'name' => 'end_date',
'description' => 'Entity end date',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'is_active' => array(
'name' => 'is_active',
'title' => ts('Schedule is Active?') ,
'description' => 'Is this option active?',
'default' => '1',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'recipient_manual' => array(
'name' => 'recipient_manual',
'description' => 'Contact IDs to which reminder should be sent.',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'recipient_listing' => array(
'name' => 'recipient_listing',
'description' => 'listing based on recipient field.',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'body_text' => array(
'name' => 'body_text',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Reminder Text') ,
'description' => 'Body of the mailing in text format.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'body_html' => array(
'name' => 'body_html',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Reminder HTML') ,
'description' => 'Body of the mailing in html format.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'sms_body_text' => array(
'name' => 'sms_body_text',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('SMS Reminder Text') ,
'description' => 'Content of the SMS text.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'subject' => array(
'name' => 'subject',
'description' => 'Subject of mailing',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'record_activity' => array(
'name' => 'record_activity',
'title' => ts('Record Activity for Reminder?') ,
'description' => 'Record Activity for this reminder?',
'default' => 'NULL',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'mapping_id' => array(
'name' => 'mapping_id',
'description' => 'Name/ID of the mapping to use on this table',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'group_id' => array(
'name' => 'group_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Reminder Group') ,
'description' => 'FK to Group',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Group',
'html' => array(
'type' => 'Select',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Reminder Template') ,
'description' => 'FK to the message template.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_MessageTemplate',
) ,
'sms_template_id' => array(
'type' => CRM_Utils_Type::T_INT,
'title' => ts('SMS Reminder Template') ,
'description' => 'FK to the message template.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_MessageTemplate',
) ,
'absolute_date' => array(
'type' => CRM_Utils_Type::T_DATE,
'title' => ts('Fixed Date for Reminder') ,
'description' => 'Date on which the reminder be sent.',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'from_name' => array(
'name' => 'from_name',
'description' => 'Name in "from" field',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'from_email' => array(
'name' => 'from_email',
'description' => 'Email address in "from" field',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'mode' => array(
'name' => 'mode',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
'default' => 'Email',
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select',
) ,
'name' => 'sms_provider_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('SMS Provider') ,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
'FKClassName' => 'CRM_SMS_DAO_Provider',
'html' => array(
'type' => 'Select',
'description' => 'Used for repeating entity',
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'filter_contact_language' => array(
'name' => 'filter_contact_language',
'description' => 'Used for multilingual installation',
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
'communication_language' => array(
'name' => 'communication_language',
'description' => 'Used for multilingual installation',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'table_name' => 'civicrm_action_schedule',
+ 'entity' => 'ActionSchedule',
+ 'bao' => 'CRM_Core_BAO_ActionSchedule',
+ 'localizable' => 0,
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);