+--------------------------------------------------------------------+
| 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
*/
*/
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]
'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',
'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',
'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',
'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',
'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',
'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']);