*
* Generated from xml/schema/CRM/Core/Tag.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:18f8021635fed59be1eabc246f6b88cb)
+ * (GenCodeChecksum:71590516eaae029ef71f6f4b3d7a800d)
*/
/**
*/
public static $_tableName = 'civicrm_tag';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-tag';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Tags');
+ }
+
/**
* Returns foreign keys and entity references.
*
'entity' => 'Tag',
'bao' => 'CRM_Core_BAO_Tag',
'localizable' => 0,
+ 'add' => '1.1',
],
'name' => [
'name' => 'name',
'entity' => 'Tag',
'bao' => 'CRM_Core_BAO_Tag',
'localizable' => 0,
+ 'add' => '1.1',
],
'description' => [
'name' => 'description',
'entity' => 'Tag',
'bao' => 'CRM_Core_BAO_Tag',
'localizable' => 0,
+ 'add' => '1.1',
],
'parent_id' => [
'name' => 'parent_id',
'keyColumn' => 'id',
'labelColumn' => 'name',
],
+ 'add' => '1.1',
],
'is_selectable' => [
'name' => 'is_selectable',
'entity' => 'Tag',
'bao' => 'CRM_Core_BAO_Tag',
'localizable' => 0,
+ 'add' => '2.1',
],
'is_reserved' => [
'name' => 'is_reserved',
'entity' => 'Tag',
'bao' => 'CRM_Core_BAO_Tag',
'localizable' => 0,
+ 'add' => '3.2',
],
'is_tagset' => [
'name' => 'is_tagset',
'entity' => 'Tag',
'bao' => 'CRM_Core_BAO_Tag',
'localizable' => 0,
+ 'add' => '3.2',
],
'used_for' => [
'name' => 'used_for',
'optionGroupName' => 'tag_used_for',
'optionEditPath' => 'civicrm/admin/options/tag_used_for',
],
+ 'add' => '3.2',
],
'created_id' => [
'name' => 'created_id',
'bao' => 'CRM_Core_BAO_Tag',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'add' => '3.4',
],
'color' => [
'name' => 'color',
'entity' => 'Tag',
'bao' => 'CRM_Core_BAO_Tag',
'localizable' => 0,
+ 'add' => '4.7',
],
'created_date' => [
'name' => 'created_date',
'entity' => 'Tag',
'bao' => 'CRM_Core_BAO_Tag',
'localizable' => 0,
+ 'add' => '3.4',
],
];
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);