Merge pull request #10038 from jaapjansma/CRM-20330
[civicrm-core.git] / CRM / Core / DAO / JobLog.php
index e8a5bfde98c0731d076c0bb99155889c2f6982a0..492425bfd907a225af1eca5fecec8b5f03b56050 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/JobLog.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4b0845059b2070b57b02b8b1c6c9df50)
+ * (GenCodeChecksum:8bf259a1e340e91eb72255dd7cdba531)
  */
 require_once 'CRM/Core/DAO.php';
 require_once 'CRM/Utils/Type.php';
+/**
+ * CRM_Core_DAO_JobLog constructor.
+ */
 class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
   /**
-   * static instance to hold the table name
+   * Static instance to hold the table name.
    *
    * @var string
    */
   static $_tableName = 'civicrm_job_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
    */
@@ -97,16 +99,14 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
    */
   public $data;
   /**
-   * class constructor
-   *
-   * @return civicrm_job_log
+   * Class constructor.
    */
   function __construct() {
     $this->__table = 'civicrm_job_log';
     parent::__construct();
   }
   /**
-   * Returns foreign keys and entity references
+   * Returns foreign keys and entity references.
    *
    * @return array
    *   [CRM_Core_Reference_Interface]
@@ -133,6 +133,9 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'title' => ts('Job Log ID') ,
           'description' => 'Job log entry Id',
           'required' => true,
+          'table_name' => 'civicrm_job_log',
+          'entity' => 'JobLog',
+          'bao' => 'CRM_Core_DAO_JobLog',
         ) ,
         'domain_id' => array(
           'name' => 'domain_id',
@@ -140,6 +143,9 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'title' => ts('Domain ID') ,
           'description' => 'Which Domain is this scheduled job for',
           'required' => true,
+          'table_name' => 'civicrm_job_log',
+          'entity' => 'JobLog',
+          'bao' => 'CRM_Core_DAO_JobLog',
           'FKClassName' => 'CRM_Core_DAO_Domain',
           'pseudoconstant' => array(
             'table' => 'civicrm_domain',
@@ -152,12 +158,18 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'type' => CRM_Utils_Type::T_TIMESTAMP,
           'title' => ts('Timestamp') ,
           'description' => 'Log entry date',
+          'table_name' => 'civicrm_job_log',
+          'entity' => 'JobLog',
+          'bao' => 'CRM_Core_DAO_JobLog',
         ) ,
         'job_id' => array(
           'name' => 'job_id',
           'type' => CRM_Utils_Type::T_INT,
           'title' => ts('Job ID') ,
           'description' => 'Pointer to job id - not a FK though, just for logging purposes',
+          'table_name' => 'civicrm_job_log',
+          'entity' => 'JobLog',
+          'bao' => 'CRM_Core_DAO_JobLog',
         ) ,
         'name' => array(
           'name' => 'name',
@@ -166,6 +178,9 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'description' => 'Title of the job',
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'table_name' => 'civicrm_job_log',
+          'entity' => 'JobLog',
+          'bao' => 'CRM_Core_DAO_JobLog',
         ) ,
         'command' => array(
           'name' => 'command',
@@ -174,6 +189,9 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'description' => 'Full path to file containing job script',
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'table_name' => 'civicrm_job_log',
+          'entity' => 'JobLog',
+          'bao' => 'CRM_Core_DAO_JobLog',
         ) ,
         'description' => array(
           'name' => 'description',
@@ -182,12 +200,18 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO {
           'description' => 'Title line of log entry',
           'maxlength' => 255,
           'size' => CRM_Utils_Type::HUGE,
+          'table_name' => 'civicrm_job_log',
+          'entity' => 'JobLog',
+          'bao' => 'CRM_Core_DAO_JobLog',
         ) ,
         'data' => array(
           'name' => 'data',
           'type' => CRM_Utils_Type::T_TEXT,
           'title' => ts('Extended Data') ,
           'description' => 'Potential extended data for specific job run (e.g. tracebacks).',
+          'table_name' => 'civicrm_job_log',
+          'entity' => 'JobLog',
+          'bao' => 'CRM_Core_DAO_JobLog',
         ) ,
       );
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);