X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FPrintLabel.php;h=1f20a3825e1f1ac3cef2df1c9d54bae6c178f254;hb=4a3c7961f8c578506bdc6b8c0909b1ea435a9739;hp=6ac6ceb2871a4b483351806bff1ea9c469813f89;hpb=8b58a98f17b65d4e5c67f973b66ebb1b4df3615a;p=civicrm-core.git diff --git a/CRM/Core/DAO/PrintLabel.php b/CRM/Core/DAO/PrintLabel.php index 6ac6ceb287..1f20a3825e 100644 --- a/CRM/Core/DAO/PrintLabel.php +++ b/CRM/Core/DAO/PrintLabel.php @@ -2,11 +2,11 @@ /** * @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) */ /** @@ -19,14 +19,14 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { * * @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 @@ -119,7 +119,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { */ 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']); } @@ -139,6 +139,7 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { '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', @@ -148,9 +149,10 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { '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', @@ -160,9 +162,10 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { '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', @@ -172,7 +175,8 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { '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', @@ -182,9 +186,10 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { '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', @@ -201,7 +206,8 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { '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', @@ -218,7 +224,8 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { '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', @@ -229,7 +236,8 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { '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', @@ -240,7 +248,8 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { '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', @@ -251,7 +260,8 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { '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', @@ -262,7 +272,8 @@ class CRM_Core_DAO_PrintLabel extends CRM_Core_DAO { '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',