*
* Generated from xml/schema/CRM/Core/MessageTemplate.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:988d404fbe6cd84e14a175f71b3f8440)
+ * (GenCodeChecksum:334135bbbd8614a2501e1cf56715eb46)
*/
/**
*
* @var string
*/
- static $_tableName = 'civicrm_msg_template';
+ public static $_tableName = 'civicrm_msg_template';
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var bool
*/
- static $_log = FALSE;
+ public static $_log = FALSE;
/**
* Message Template ID
*
- * @var int unsigned
+ * @var int
*/
public $id;
public $msg_html;
/**
- * @var boolean
+ * @var bool
*/
public $is_active;
/**
* a pseudo-FK to civicrm_option_value
*
- * @var int unsigned
+ * @var int
*/
public $workflow_id;
/**
* is this the default message template for the workflow referenced by workflow_id?
*
- * @var boolean
+ * @var bool
*/
public $is_default;
/**
* is this the reserved message template which we ship for the workflow referenced by workflow_id?
*
- * @var boolean
+ * @var bool
*/
public $is_reserved;
/**
* Is this message template used for sms?
*
- * @var boolean
+ * @var bool
*/
public $is_sms;
/**
* a pseudo-FK to civicrm_option_value containing PDF Page Format.
*
- * @var int unsigned
+ * @var int
*/
public $pdf_format_id;
'title' => ts('Message Template ID'),
'description' => ts('Message Template ID'),
'required' => TRUE,
+ 'where' => 'civicrm_msg_template.id',
'table_name' => 'civicrm_msg_template',
'entity' => 'MessageTemplate',
'bao' => 'CRM_Core_BAO_MessageTemplate',
'description' => ts('Descriptive title of message'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_msg_template.msg_title',
'table_name' => 'civicrm_msg_template',
'entity' => 'MessageTemplate',
'bao' => 'CRM_Core_BAO_MessageTemplate',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Message Template Subject'),
'description' => ts('Subject for email message.'),
+ 'where' => 'civicrm_msg_template.msg_subject',
'table_name' => 'civicrm_msg_template',
'entity' => 'MessageTemplate',
'bao' => 'CRM_Core_BAO_MessageTemplate',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Message Template Text'),
'description' => ts('Text formatted message'),
+ 'where' => 'civicrm_msg_template.msg_text',
'table_name' => 'civicrm_msg_template',
'entity' => 'MessageTemplate',
'bao' => 'CRM_Core_BAO_MessageTemplate',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Message Template HTML'),
'description' => ts('HTML formatted message'),
+ 'where' => 'civicrm_msg_template.msg_html',
'table_name' => 'civicrm_msg_template',
'entity' => 'MessageTemplate',
'bao' => 'CRM_Core_BAO_MessageTemplate',
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Active'),
+ 'where' => 'civicrm_msg_template.is_active',
'default' => '1',
'table_name' => 'civicrm_msg_template',
'entity' => 'MessageTemplate',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Message Template Workflow'),
'description' => ts('a pseudo-FK to civicrm_option_value'),
+ 'where' => 'civicrm_msg_template.workflow_id',
'table_name' => 'civicrm_msg_template',
'entity' => 'MessageTemplate',
'bao' => 'CRM_Core_BAO_MessageTemplate',
'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?'),
+ 'where' => 'civicrm_msg_template.is_default',
'default' => '1',
'table_name' => 'civicrm_msg_template',
'entity' => 'MessageTemplate',
'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?'),
+ 'where' => 'civicrm_msg_template.is_reserved',
'table_name' => 'civicrm_msg_template',
'entity' => 'MessageTemplate',
'bao' => 'CRM_Core_BAO_MessageTemplate',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Message Template is used for SMS?'),
'description' => ts('Is this message template used for sms?'),
+ 'where' => 'civicrm_msg_template.is_sms',
'default' => '0',
'table_name' => 'civicrm_msg_template',
'entity' => 'MessageTemplate',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Message Template Format'),
'description' => ts('a pseudo-FK to civicrm_option_value containing PDF Page Format.'),
+ 'where' => 'civicrm_msg_template.pdf_format_id',
'table_name' => 'civicrm_msg_template',
'entity' => 'MessageTemplate',
'bao' => 'CRM_Core_BAO_MessageTemplate',
'optionGroupName' => 'pdf_format',
'keyColumn' => 'id',
'optionEditPath' => 'civicrm/admin/options/pdf_format',
- ]
+ ],
],
];
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);