X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FTag.php;h=123795f5a939b01a6040169016a45f2639514e27;hb=aa57f87a534f5796bcc2334b9aef86b075e7978c;hp=fb94ad6d9d19b30eff85335fb2d5afd39c51b25d;hpb=5020eb20a309885257a591f8125498c9779f70c0;p=civicrm-core.git diff --git a/CRM/Core/DAO/Tag.php b/CRM/Core/DAO/Tag.php index fb94ad6d9d..123795f5a9 100644 --- a/CRM/Core/DAO/Tag.php +++ b/CRM/Core/DAO/Tag.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Tag.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:6bf223ca710a35bc6fb4c5e3f373b214) + * (GenCodeChecksum:68e222188dd1d031d2219aa1617e15af) */ /** @@ -47,7 +47,9 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO { /** * Tag 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; @@ -55,63 +57,83 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO { * Name of Tag. * * @var string + * (SQL type: varchar(64)) + * Note that values will be retrieved from the database as a string. */ public $name; /** * Optional verbose description of the tag. * - * @var string + * @var string|null + * (SQL type: varchar(255)) + * Note that values will be retrieved from the database as a string. */ public $description; /** * Optional parent id for this tag. * - * @var int + * @var int|string|null + * (SQL type: int unsigned) + * Note that values will be retrieved from the database as a string. */ public $parent_id; /** * Is this tag selectable / displayed * - * @var bool + * @var bool|string + * (SQL type: tinyint) + * Note that values will be retrieved from the database as a string. */ public $is_selectable; /** - * @var bool + * @var bool|string + * (SQL type: tinyint) + * Note that values will be retrieved from the database as a string. */ public $is_reserved; /** - * @var bool + * @var bool|string + * (SQL type: tinyint) + * Note that values will be retrieved from the database as a string. */ public $is_tagset; /** - * @var string + * @var string|null + * (SQL type: varchar(64)) + * Note that values will be retrieved from the database as a string. */ public $used_for; /** * FK to civicrm_contact, who created this tag * - * @var int + * @var int|string|null + * (SQL type: int unsigned) + * Note that values will be retrieved from the database as a string. */ public $created_id; /** * Hex color value e.g. #ffffff * - * @var string + * @var string|null + * (SQL type: varchar(255)) + * Note that values will be retrieved from the database as a string. */ public $color; /** * Date and time that tag was created. * - * @var datetime + * @var string|null + * (SQL type: datetime) + * Note that values will be retrieved from the database as a string. */ public $created_date; @@ -230,6 +252,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Display Tag?'), 'description' => ts('Is this tag selectable / displayed'), + 'required' => TRUE, 'where' => 'civicrm_tag.is_selectable', 'default' => '1', 'table_name' => 'civicrm_tag', @@ -242,6 +265,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO { 'name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Reserved'), + 'required' => TRUE, 'where' => 'civicrm_tag.is_reserved', 'default' => '0', 'table_name' => 'civicrm_tag', @@ -254,6 +278,7 @@ class CRM_Core_DAO_Tag extends CRM_Core_DAO { 'name' => 'is_tagset', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Tagset'), + 'required' => TRUE, 'where' => 'civicrm_tag.is_tagset', 'default' => '0', 'table_name' => 'civicrm_tag',