+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
-| Copyright CiviCRM LLC (c) 2004-2016 |
+| Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
*/
/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2016
+ * @copyright CiviCRM LLC (c) 2004-2017
*
* Generated from xml/schema/CRM/Core/Log.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:316a8a9a9d716cc5847f05668de2c331)
+ * (GenCodeChecksum:8ba1221b34b495c2238ecf5197e5a47f)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_Core_DAO_Log constructor.
+ */
class CRM_Core_DAO_Log extends CRM_Core_DAO {
/**
- * static instance to hold the table name
+ * Static instance to hold the table name.
*
* @var string
*/
static $_tableName = 'civicrm_log';
/**
- * 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
*/
*/
public $modified_date;
/**
- * class constructor
- *
- * @return civicrm_log
+ * Class constructor.
*/
function __construct() {
$this->__table = 'civicrm_log';
parent::__construct();
}
/**
- * Returns foreign keys and entity references
+ * Returns foreign keys and entity references.
*
* @return array
* [CRM_Core_Reference_Interface]
'title' => ts('Log ID') ,
'description' => 'Log ID',
'required' => true,
+ 'table_name' => 'civicrm_log',
+ 'entity' => 'Log',
+ 'bao' => 'CRM_Core_BAO_Log',
+ 'localizable' => 0,
) ,
'entity_table' => array(
'name' => 'entity_table',
'required' => true,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'table_name' => 'civicrm_log',
+ 'entity' => 'Log',
+ 'bao' => 'CRM_Core_BAO_Log',
+ 'localizable' => 0,
) ,
'entity_id' => array(
'name' => 'entity_id',
'title' => ts('Entity ID ') ,
'description' => 'Foreign key to the referenced item.',
'required' => true,
+ 'table_name' => 'civicrm_log',
+ 'entity' => 'Log',
+ 'bao' => 'CRM_Core_BAO_Log',
+ 'localizable' => 0,
) ,
'data' => array(
'name' => 'data',
'type' => CRM_Utils_Type::T_TEXT,
'title' => ts('Data') ,
'description' => 'Updates does to this object if any.',
+ 'table_name' => 'civicrm_log',
+ 'entity' => 'Log',
+ 'bao' => 'CRM_Core_BAO_Log',
+ 'localizable' => 0,
) ,
'modified_id' => array(
'name' => 'modified_id',
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Modified By') ,
'description' => 'FK to Contact ID of person under whose credentials this data modification was made.',
+ 'table_name' => 'civicrm_log',
+ 'entity' => 'Log',
+ 'bao' => 'CRM_Core_BAO_Log',
+ 'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
) ,
'modified_date' => array(
'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME,
'title' => ts('Modified Date') ,
'description' => 'When was the referenced entity created or modified or deleted.',
+ 'table_name' => 'civicrm_log',
+ 'entity' => 'Log',
+ 'bao' => 'CRM_Core_BAO_Log',
+ 'localizable' => 0,
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);