/**
* @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',
'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',
'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',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Description'),
'description' => ts('Description of this label layout'),
+ 'where' => 'civicrm_print_label.description',
'table_name' => 'civicrm_print_label',
'entity' => 'PrintLabel',
'bao' => 'CRM_Core_DAO_PrintLabel',
'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',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Label Type'),
'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',
'type' => CRM_Utils_Type::T_LONGTEXT,
'title' => ts('Data'),
'description' => ts('contains json encode configurations options'),
+ 'where' => 'civicrm_print_label.data',
'table_name' => 'civicrm_print_label',
'entity' => 'PrintLabel',
'bao' => 'CRM_Core_DAO_PrintLabel',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Label is Default?'),
'description' => ts('Is this default?'),
+ 'where' => 'civicrm_print_label.is_default',
'default' => '1',
'table_name' => 'civicrm_print_label',
'entity' => 'PrintLabel',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Label Is Active?'),
'description' => ts('Is this option active?'),
+ 'where' => 'civicrm_print_label.is_active',
'default' => '1',
'table_name' => 'civicrm_print_label',
'entity' => 'PrintLabel',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Is Label Reserved?'),
'description' => ts('Is this reserved label?'),
+ 'where' => 'civicrm_print_label.is_reserved',
'default' => '1',
'table_name' => 'civicrm_print_label',
'entity' => 'PrintLabel',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Label Created By'),
'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',