*
* Generated from xml/schema/CRM/Core/Tag.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6bf223ca710a35bc6fb4c5e3f373b214)
+ * (GenCodeChecksum:68e222188dd1d031d2219aa1617e15af)
*/
/**
/**
* 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;
* 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;
'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',
'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',
'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',