/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
*
* Generated from xml/schema/CRM/Core/PrintLabel.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:60a1aaca1bbf19fe5b752afa03e8fd34)
+ * (GenCodeChecksum:ca56833ea757bf1363d618add294960d)
*/
/**
*
* @var string
*/
- static $_tableName = 'civicrm_print_label';
+ public static $_tableName = 'civicrm_print_label';
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var bool
*/
- static $_log = FALSE;
+ public static $_log = FALSE;
/**
* @var int unsigned
*/
public static function getReferenceColumns() {
if (!isset(Civi::$statics[__CLASS__]['links'])) {
- Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__);
+ Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__);
Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
}
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Print Label ID'),
'required' => TRUE,
+ 'where' => 'civicrm_print_label.id',
'table_name' => 'civicrm_print_label',
'entity' => 'PrintLabel',
'bao' => 'CRM_Core_DAO_PrintLabel',
'name' => 'title',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Title'),
- 'description' => 'User title for for this label layout',
+ 'description' => ts('User title for for this label layout'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_print_label.title',
'table_name' => 'civicrm_print_label',
'entity' => 'PrintLabel',
'bao' => 'CRM_Core_DAO_PrintLabel',
'name' => 'name',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Name'),
- 'description' => 'variable name/programmatic handle for this field.',
+ 'description' => ts('variable name/programmatic handle for this field.'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_print_label.name',
'table_name' => 'civicrm_print_label',
'entity' => 'PrintLabel',
'bao' => 'CRM_Core_DAO_PrintLabel',
'name' => 'description',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Description'),
- 'description' => 'Description of this label layout',
+ 'description' => ts('Description of this label layout'),
+ 'where' => 'civicrm_print_label.description',
'table_name' => 'civicrm_print_label',
'entity' => 'PrintLabel',
'bao' => 'CRM_Core_DAO_PrintLabel',
'name' => 'label_format_name',
'type' => CRM_Utils_Type::T_STRING,
'title' => ts('Label Format'),
- 'description' => 'This refers to name column of civicrm_option_value row in name_badge option group',
+ 'description' => ts('This refers to name column of civicrm_option_value row in name_badge option group'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_print_label.label_format_name',
'table_name' => 'civicrm_print_label',
'entity' => 'PrintLabel',
'bao' => 'CRM_Core_DAO_PrintLabel',
'name' => 'label_type_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Label Type'),
- 'description' => 'Implicit FK to civicrm_option_value row in NEW label_type option group',
+ 'description' => ts('Implicit FK to civicrm_option_value row in NEW label_type option group'),
+ 'where' => 'civicrm_print_label.label_type_id',
'table_name' => 'civicrm_print_label',
'entity' => 'PrintLabel',
'bao' => 'CRM_Core_DAO_PrintLabel',
'name' => 'data',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Data'),
- 'description' => 'contains json encode configurations options',
+ 'description' => ts('contains json encode configurations options'),
+ 'where' => 'civicrm_print_label.data',
'table_name' => 'civicrm_print_label',
'entity' => 'PrintLabel',
'bao' => 'CRM_Core_DAO_PrintLabel',
'name' => 'is_default',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Label is Default?'),
- 'description' => 'Is this default?',
+ 'description' => ts('Is this default?'),
+ 'where' => 'civicrm_print_label.is_default',
'default' => '1',
'table_name' => 'civicrm_print_label',
'entity' => 'PrintLabel',
'name' => 'is_active',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Label Is Active?'),
- 'description' => 'Is this option active?',
+ 'description' => ts('Is this option active?'),
+ 'where' => 'civicrm_print_label.is_active',
'default' => '1',
'table_name' => 'civicrm_print_label',
'entity' => 'PrintLabel',
'name' => 'is_reserved',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Label Reserved?'),
- 'description' => 'Is this reserved label?',
+ 'description' => ts('Is this reserved label?'),
+ 'where' => 'civicrm_print_label.is_reserved',
'default' => '1',
'table_name' => 'civicrm_print_label',
'entity' => 'PrintLabel',
'name' => 'created_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Label Created By'),
- 'description' => 'FK to civicrm_contact, who created this label layout',
+ 'description' => ts('FK to civicrm_contact, who created this label layout'),
+ 'where' => 'civicrm_print_label.created_id',
'table_name' => 'civicrm_print_label',
'entity' => 'PrintLabel',
'bao' => 'CRM_Core_DAO_PrintLabel',