CRM-20312 regenerated DAO with localisation
[civicrm-core.git] / CRM / Core / DAO / ActionSchedule.php
index 9b16870b598652ac98950e46ec8398b7b6909cb0..7fbd77c72a891eadbb95c7eb8d5ba423a6a2ddc6 100644 (file)
  *
  * 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
    */
@@ -274,16 +276,14 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
    */
   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]
@@ -312,6 +312,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -320,6 +324,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -328,6 +336,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -336,12 +348,20 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -350,6 +370,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -358,12 +382,20 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -372,6 +404,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
           ) ,
@@ -386,6 +422,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -394,11 +434,19 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -407,6 +455,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
           ) ,
@@ -419,6 +471,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -427,6 +483,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
           ) ,
@@ -439,6 +499,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -447,6 +511,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -455,6 +523,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -462,6 +534,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -470,6 +546,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -478,24 +558,40 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -504,6 +600,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -511,6 +611,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -519,12 +623,20 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -540,6 +652,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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(
@@ -547,6 +663,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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(
@@ -554,6 +674,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -562,6 +686,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -570,6 +698,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -579,6 +711,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
           ) ,
@@ -591,6 +727,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -603,6 +743,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -611,6 +755,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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',
@@ -619,6 +767,10 @@ class CRM_Core_DAO_ActionSchedule extends CRM_Core_DAO {
           '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']);