X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FPersistent.php;h=a3257570f75f4a2ce4bc02ac7421a7d4e6d39195;hb=522a26c97d574d2ce6f88c729fa01998ed203794;hp=8ad58a337f5635923787748e5690cd6a12552272;hpb=12add2d5415d6d7cf90eb1f5917dde3a7e856d05;p=civicrm-core.git diff --git a/CRM/Core/DAO/Persistent.php b/CRM/Core/DAO/Persistent.php index 8ad58a337f..a3257570f7 100644 --- a/CRM/Core/DAO/Persistent.php +++ b/CRM/Core/DAO/Persistent.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ -| Copyright CiviCRM LLC (c) 2004-2016 | +| Copyright CiviCRM LLC (c) 2004-2017 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -26,24 +26,26 @@ */ /** * @package CRM - * @copyright CiviCRM LLC (c) 2004-2016 + * @copyright CiviCRM LLC (c) 2004-2017 * * Generated from xml/schema/CRM/Core/Persistent.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:9b08831f82375bb41e0f54c03b69b79e) + * (GenCodeChecksum:435a9aa78f94ebc91ddf5cccd749c06c) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; +/** + * CRM_Core_DAO_Persistent constructor. + */ class CRM_Core_DAO_Persistent extends CRM_Core_DAO { /** - * static instance to hold the table name + * Static instance to hold the table name. * * @var string */ static $_tableName = 'civicrm_persistent'; /** - * static value to see if we should log any modifications to - * this table in the civicrm_log table + * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var boolean */ @@ -79,9 +81,7 @@ class CRM_Core_DAO_Persistent extends CRM_Core_DAO { */ public $is_config; /** - * class constructor - * - * @return civicrm_persistent + * Class constructor. */ function __construct() { $this->__table = 'civicrm_persistent'; @@ -101,6 +101,9 @@ class CRM_Core_DAO_Persistent extends CRM_Core_DAO { 'title' => ts('Persistent ID') , 'description' => 'Persistent Record Id', 'required' => true, + 'table_name' => 'civicrm_persistent', + 'entity' => 'Persistent', + 'bao' => 'CRM_Core_BAO_Persistent', ) , 'context' => array( 'name' => 'context', @@ -110,6 +113,9 @@ class CRM_Core_DAO_Persistent extends CRM_Core_DAO { 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_persistent', + 'entity' => 'Persistent', + 'bao' => 'CRM_Core_BAO_Persistent', ) , 'name' => array( 'name' => 'name', @@ -119,12 +125,18 @@ class CRM_Core_DAO_Persistent extends CRM_Core_DAO { 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'table_name' => 'civicrm_persistent', + 'entity' => 'Persistent', + 'bao' => 'CRM_Core_BAO_Persistent', ) , 'data' => array( 'name' => 'data', 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Data') , 'description' => 'data associated with name', + 'table_name' => 'civicrm_persistent', + 'entity' => 'Persistent', + 'bao' => 'CRM_Core_BAO_Persistent', ) , 'is_config' => array( 'name' => 'is_config', @@ -132,6 +144,9 @@ class CRM_Core_DAO_Persistent extends CRM_Core_DAO { 'title' => ts('Is Configuration?') , 'description' => 'Config Settings', 'required' => true, + 'table_name' => 'civicrm_persistent', + 'entity' => 'Persistent', + 'bao' => 'CRM_Core_BAO_Persistent', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);