/**
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
*
* Generated from xml/schema/CRM/Core/Job.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
*
* @var string
*/
- static $_tableName = 'civicrm_job';
+ public static $_tableName = 'civicrm_job';
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var bool
*/
- static $_log = FALSE;
+ public static $_log = FALSE;
/**
* Job Id
*/
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']);
}
'title' => ts('Job ID'),
'description' => ts('Job Id'),
'required' => TRUE,
+ 'where' => 'civicrm_job.id',
'table_name' => 'civicrm_job',
'entity' => 'Job',
'bao' => 'CRM_Core_BAO_Job',
'title' => ts('Job Domain'),
'description' => ts('Which Domain is this scheduled job for'),
'required' => TRUE,
+ 'where' => 'civicrm_job.domain_id',
'table_name' => 'civicrm_job',
'entity' => 'Job',
'bao' => 'CRM_Core_BAO_Job',
'description' => ts('Scheduled job run frequency.'),
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
+ 'where' => 'civicrm_job.run_frequency',
'default' => 'Daily',
'table_name' => 'civicrm_job',
'entity' => 'Job',
'title' => ts('Last Run'),
'description' => ts('When was this cron entry last run'),
'required' => FALSE,
+ 'where' => 'civicrm_job.last_run',
'default' => 'NULL',
'table_name' => 'civicrm_job',
'entity' => 'Job',
'title' => ts('Scheduled Run Date'),
'description' => ts('When is this cron entry scheduled to run'),
'required' => FALSE,
+ 'where' => 'civicrm_job.scheduled_run_date',
'default' => 'NULL',
'table_name' => 'civicrm_job',
'entity' => 'Job',
'description' => ts('Title of the job'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_job.name',
'table_name' => 'civicrm_job',
'entity' => 'Job',
'bao' => 'CRM_Core_BAO_Job',
'description' => ts('Description of the job'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_job.description',
'table_name' => 'civicrm_job',
'entity' => 'Job',
'bao' => 'CRM_Core_BAO_Job',
'description' => ts('Entity of the job api call'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_job.api_entity',
'table_name' => 'civicrm_job',
'entity' => 'Job',
'bao' => 'CRM_Core_BAO_Job',
'description' => ts('Action of the job api call'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_job.api_action',
'table_name' => 'civicrm_job',
'entity' => 'Job',
'bao' => 'CRM_Core_BAO_Job',
'description' => ts('List of parameters to the command.'),
'rows' => 4,
'cols' => 60,
+ 'where' => 'civicrm_job.parameters',
'table_name' => 'civicrm_job',
'entity' => 'Job',
'bao' => 'CRM_Core_BAO_Job',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Job Is Active?'),
'description' => ts('Is this job active?'),
+ 'where' => 'civicrm_job.is_active',
'table_name' => 'civicrm_job',
'entity' => 'Job',
'bao' => 'CRM_Core_BAO_Job',