Merge pull request #23825 from colemanw/profileExport
[civicrm-core.git] / CRM / Core / DAO / MessageTemplate.php
index fbd7b9ef859e2ce5ee7c0eaeeb7ccdbbadbf08a6..a124c9d467c388088bf7774c6d80b4ffcfc951b4 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MessageTemplate.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b06f348c67999ef36677f60e6c62650a)
+ * (GenCodeChecksum:a2e8de0828f836d42d4dcce19200ab27)
  */
 
 /**
@@ -33,80 +33,104 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
   /**
    * Message Template ID
    *
-   * @var int
+   * @var int|string|null
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $id;
 
   /**
    * Descriptive title of message
    *
-   * @var string
+   * @var string|null
+   *   (SQL type: varchar(255))
+   *   Note that values will be retrieved from the database as a string.
    */
   public $msg_title;
 
   /**
    * Subject for email message.
    *
-   * @var text
+   * @var string|null
+   *   (SQL type: text)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $msg_subject;
 
   /**
    * Text formatted message
    *
-   * @var longtext
+   * @var string|null
+   *   (SQL type: longtext)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $msg_text;
 
   /**
    * HTML formatted message
    *
-   * @var longtext
+   * @var string|null
+   *   (SQL type: longtext)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $msg_html;
 
   /**
-   * @var bool
+   * @var bool|string
+   *   (SQL type: tinyint)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $is_active;
 
   /**
    * a pseudo-FK to civicrm_option_value
    *
-   * @var int
+   * @var int|string|null
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $workflow_id;
 
   /**
-   * @var string
+   * @var string|null
+   *   (SQL type: varchar(255))
+   *   Note that values will be retrieved from the database as a string.
    */
   public $workflow_name;
 
   /**
    * is this the default message template for the workflow referenced by workflow_id?
    *
-   * @var bool
+   * @var bool|string
+   *   (SQL type: tinyint)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $is_default;
 
   /**
    * is this the reserved message template which we ship for the workflow referenced by workflow_id?
    *
-   * @var bool
+   * @var bool|string
+   *   (SQL type: tinyint)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $is_reserved;
 
   /**
    * Is this message template used for sms?
    *
-   * @var bool
+   * @var bool|string
+   *   (SQL type: tinyint)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $is_sms;
 
   /**
    * a pseudo-FK to civicrm_option_value containing PDF Page Format.
    *
-   * @var int
+   * @var int|string|null
+   *   (SQL type: int unsigned)
+   *   Note that values will be retrieved from the database as a string.
    */
   public $pdf_format_id;
 
@@ -213,6 +237,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'name' => 'is_active',
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Is Active'),
+          'required' => TRUE,
           'where' => 'civicrm_msg_template.is_active',
           'default' => '1',
           'table_name' => 'civicrm_msg_template',
@@ -251,6 +276,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Message Template Is Default?'),
           'description' => ts('is this the default message template for the workflow referenced by workflow_id?'),
+          'required' => TRUE,
           'where' => 'civicrm_msg_template.is_default',
           'default' => '1',
           'table_name' => 'civicrm_msg_template',
@@ -264,6 +290,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Message Template Is Reserved?'),
           'description' => ts('is this the reserved message template which we ship for the workflow referenced by workflow_id?'),
+          'required' => TRUE,
           'where' => 'civicrm_msg_template.is_reserved',
           'default' => '0',
           'table_name' => 'civicrm_msg_template',
@@ -277,6 +304,7 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_BOOLEAN,
           'title' => ts('Message Template is used for SMS?'),
           'description' => ts('Is this message template used for sms?'),
+          'required' => TRUE,
           'where' => 'civicrm_msg_template.is_sms',
           'default' => '0',
           'table_name' => 'civicrm_msg_template',