X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=CRM%2FCore%2FDAO%2FJobLog.php;h=7e6b003feadb89363f2ebf8817c8cdd0a6c7974b;hb=042043f10262ec2859dc7d5c4786e3c0f564a095;hp=3de869a4b0683bed52ded2f89ed3abc1a0e846ec;hpb=c9bb7661d11c5c2b68b023350a8a8c0735e02c2a;p=civicrm-core.git diff --git a/CRM/Core/DAO/JobLog.php b/CRM/Core/DAO/JobLog.php index 3de869a4b0..7e6b003fea 100644 --- a/CRM/Core/DAO/JobLog.php +++ b/CRM/Core/DAO/JobLog.php @@ -2,11 +2,11 @@ /** * @package CRM - * @copyright CiviCRM LLC (c) 2004-2018 + * @copyright CiviCRM LLC (c) 2004-2019 * * Generated from xml/schema/CRM/Core/JobLog.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:68e8b90d050e64feef2b1868d83a7923) + * (GenCodeChecksum:4c9e64eeb779e732022e8ec28910f3c2) */ /** @@ -19,14 +19,14 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_job_log'; + public static $_tableName = 'civicrm_job_log'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Job log entry Id @@ -100,7 +100,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']); } @@ -121,6 +121,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { 'title' => ts('Job Log ID'), 'description' => ts('Job log entry Id'), 'required' => TRUE, + 'where' => 'civicrm_job_log.id', 'table_name' => 'civicrm_job_log', 'entity' => 'JobLog', 'bao' => 'CRM_Core_DAO_JobLog', @@ -132,6 +133,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { 'title' => ts('Domain ID'), 'description' => ts('Which Domain is this scheduled job for'), 'required' => TRUE, + 'where' => 'civicrm_job_log.domain_id', 'table_name' => 'civicrm_job_log', 'entity' => 'JobLog', 'bao' => 'CRM_Core_DAO_JobLog', @@ -148,6 +150,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TIMESTAMP, 'title' => ts('Timestamp'), 'description' => ts('Log entry date'), + 'where' => 'civicrm_job_log.run_time', 'table_name' => 'civicrm_job_log', 'entity' => 'JobLog', 'bao' => 'CRM_Core_DAO_JobLog', @@ -158,6 +161,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Job ID'), 'description' => ts('Pointer to job id - not a FK though, just for logging purposes'), + 'where' => 'civicrm_job_log.job_id', 'table_name' => 'civicrm_job_log', 'entity' => 'JobLog', 'bao' => 'CRM_Core_DAO_JobLog', @@ -170,6 +174,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { 'description' => ts('Title of the job'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'where' => 'civicrm_job_log.name', 'table_name' => 'civicrm_job_log', 'entity' => 'JobLog', 'bao' => 'CRM_Core_DAO_JobLog', @@ -182,6 +187,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { 'description' => ts('Full path to file containing job script'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'where' => 'civicrm_job_log.command', 'table_name' => 'civicrm_job_log', 'entity' => 'JobLog', 'bao' => 'CRM_Core_DAO_JobLog', @@ -194,6 +200,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { 'description' => ts('Title line of log entry'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, + 'where' => 'civicrm_job_log.description', 'table_name' => 'civicrm_job_log', 'entity' => 'JobLog', 'bao' => 'CRM_Core_DAO_JobLog', @@ -204,6 +211,7 @@ class CRM_Core_DAO_JobLog extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Extended Data'), 'description' => ts('Potential extended data for specific job run (e.g. tracebacks).'), + 'where' => 'civicrm_job_log.data', 'table_name' => 'civicrm_job_log', 'entity' => 'JobLog', 'bao' => 'CRM_Core_DAO_JobLog',