CRM-20312 regenerated DAO with localisation
[civicrm-core.git] / CRM / Core / DAO / SystemLog.php
index fedff4037a56b9966d0e59a98b1113e8f1f31b8e..0fb228fc6c001c0405fe02dbb5f38e58986d6380 100644 (file)
@@ -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.                                    |
 |                                                                    |
 */
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2016
+ * @copyright CiviCRM LLC (c) 2004-2017
  *
  * Generated from xml/schema/CRM/Core/SystemLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:de437db587f1fb4d7f90320e3e42db2c)
+ * (GenCodeChecksum:74683682d7114abb261677b351cd8711)
  */
 require_once 'CRM/Core/DAO.php';
 require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_Core_DAO_SystemLog constructor.
+ */
 class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
   /**
-   * static instance to hold the table name
+   * Static instance to hold the table name.
    *
    * @var string
    */
   static $_tableName = 'civicrm_system_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
    */
@@ -91,9 +93,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
    */
   public $hostname;
   /**
-   * class constructor
-   *
-   * @return civicrm_system_log
+   * Class constructor.
    */
   function __construct() {
     $this->__table = 'civicrm_system_log';
@@ -113,6 +113,10 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'title' => ts('System Log ID') ,
           'description' => 'Primary key ID',
           'required' => true,
+          'table_name' => 'civicrm_system_log',
+          'entity' => 'SystemLog',
+          'bao' => 'CRM_Core_DAO_SystemLog',
+          'localizable' => 0,
         ) ,
         'message' => array(
           'name' => 'message',
@@ -122,12 +126,20 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'required' => true,
           'maxlength' => 128,
           'size' => CRM_Utils_Type::HUGE,
+          'table_name' => 'civicrm_system_log',
+          'entity' => 'SystemLog',
+          'bao' => 'CRM_Core_DAO_SystemLog',
+          'localizable' => 0,
         ) ,
         'context' => array(
           'name' => 'context',
           'type' => CRM_Utils_Type::T_LONGTEXT,
           'title' => ts('Detailed Log Data') ,
           'description' => 'JSON encoded data',
+          'table_name' => 'civicrm_system_log',
+          'entity' => 'SystemLog',
+          'bao' => 'CRM_Core_DAO_SystemLog',
+          'localizable' => 0,
         ) ,
         'level' => array(
           'name' => 'level',
@@ -137,6 +149,10 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'maxlength' => 9,
           'size' => CRM_Utils_Type::TWELVE,
           'default' => 'info',
+          'table_name' => 'civicrm_system_log',
+          'entity' => 'SystemLog',
+          'bao' => 'CRM_Core_DAO_SystemLog',
+          'localizable' => 0,
         ) ,
         'timestamp' => array(
           'name' => 'timestamp',
@@ -144,12 +160,20 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'title' => ts('Log Timestamp') ,
           'description' => 'Timestamp of when event occurred.',
           'default' => 'CURRENT_TIMESTAMP',
+          'table_name' => 'civicrm_system_log',
+          'entity' => 'SystemLog',
+          'bao' => 'CRM_Core_DAO_SystemLog',
+          'localizable' => 0,
         ) ,
         'contact_id' => array(
           'name' => 'contact_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Log Contact ID') ,
           'description' => 'Optional Contact ID that created the log. Not an FK as we keep this regardless',
+          'table_name' => 'civicrm_system_log',
+          'entity' => 'SystemLog',
+          'bao' => 'CRM_Core_DAO_SystemLog',
+          'localizable' => 0,
         ) ,
         'hostname' => array(
           'name' => 'hostname',
@@ -158,6 +182,10 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO {
           'description' => 'Optional Name of logging host',
           'maxlength' => 128,
           'size' => CRM_Utils_Type::HUGE,
+          'table_name' => 'civicrm_system_log',
+          'entity' => 'SystemLog',
+          'bao' => 'CRM_Core_DAO_SystemLog',
+          'localizable' => 0,
         ) ,
       );
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);