*
* Generated from xml/schema/CRM/Core/Job.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5c0e5cb30a7aaee5be8f3a2e6d23b84b)
+ * (GenCodeChecksum:c3340527b2d2cb17211eba848371b469)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'title' => ts('Job ID') ,
'description' => 'Job Id',
'required' => true,
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
+ 'localizable' => 0,
) ,
'domain_id' => array(
'name' => 'domain_id',
'title' => ts('Job Domain') ,
'description' => 'Which Domain is this scheduled job for',
'required' => true,
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
+ 'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Domain',
'pseudoconstant' => array(
'table' => 'civicrm_domain',
'maxlength' => 8,
'size' => CRM_Utils_Type::EIGHT,
'default' => 'Daily',
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select',
) ,
'title' => ts('Last Run') ,
'description' => 'When was this cron entry last run',
'default' => 'NULL',
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
+ 'localizable' => 0,
) ,
'scheduled_run_date' => array(
'name' => 'scheduled_run_date',
'description' => 'When is this cron entry scheduled to run',
'required' => false,
'default' => 'NULL',
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
+ 'localizable' => 0,
) ,
'name' => array(
'name' => 'name',
'description' => 'Title of the job',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
+ 'localizable' => 0,
) ,
'description' => array(
'name' => 'description',
'description' => 'Description of the job',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
+ 'localizable' => 0,
) ,
'api_entity' => array(
'name' => 'api_entity',
'description' => 'Entity of the job api call',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
+ 'localizable' => 0,
) ,
'api_action' => array(
'name' => 'api_action',
'description' => 'Action of the job api call',
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
+ 'localizable' => 0,
) ,
'parameters' => array(
'name' => 'parameters',
'description' => 'List of parameters to the command.',
'rows' => 4,
'cols' => 60,
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
+ 'localizable' => 0,
'html' => array(
'type' => 'TextArea',
) ,
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => ts('Job Is Active?') ,
'description' => 'Is this job active?',
+ 'table_name' => 'civicrm_job',
+ 'entity' => 'Job',
+ 'bao' => 'CRM_Core_BAO_Job',
+ 'localizable' => 0,
) ,
);
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
$r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'job', $prefix, array());
return $r;
}
+ /**
+ * Returns the list of indices
+ */
+ public static function indices($localize = TRUE) {
+ $indices = array();
+ return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+ }
}