*
* Generated from xml/schema/CRM/Core/MessageTemplate.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b06f348c67999ef36677f60e6c62650a)
+ * (GenCodeChecksum:a2e8de0828f836d42d4dcce19200ab27)
*/
/**
/**
* 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;
'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',
'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',
'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',
'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',