X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FQueue%2FDAO%2FQueueItem.php;h=6d640fedca7699b1a721d34708d6a1f08986efa5;hb=34701226786f67c455cbbea360d40c8d74c25cba;hp=9647830dfd18c8b6c7475d0251fa8294ba45b313;hpb=5c6cd3a8fcfd6c6b60eed49c35a3eafd23b17f3f;p=civicrm-core.git diff --git a/CRM/Queue/DAO/QueueItem.php b/CRM/Queue/DAO/QueueItem.php index 9647830dfd..6d640fedca 100644 --- a/CRM/Queue/DAO/QueueItem.php +++ b/CRM/Queue/DAO/QueueItem.php @@ -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. | | | @@ -26,24 +26,26 @@ */ /** * @package CRM - * @copyright CiviCRM LLC (c) 2004-2016 + * @copyright CiviCRM LLC (c) 2004-2017 * * Generated from xml/schema/CRM/Queue/QueueItem.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:45218486c40b902ee5e043e22b1a7d20) + * (GenCodeChecksum:a7927e0d742d5a5600ffe80c75d90bf6) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; +/** + * CRM_Queue_DAO_QueueItem constructor. + */ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO { /** - * static instance to hold the table name + * Static instance to hold the table name. * * @var string */ static $_tableName = 'civicrm_queue_item'; /** - * 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 */ @@ -83,9 +85,7 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO { */ public $data; /** - * class constructor - * - * @return civicrm_queue_item + * Class constructor. */ function __construct() { $this->__table = 'civicrm_queue_item'; @@ -104,6 +104,9 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Queue ID') , 'required' => true, + 'table_name' => 'civicrm_queue_item', + 'entity' => 'QueueItem', + 'bao' => 'CRM_Queue_BAO_QueueItem', ) , 'queue_name' => array( 'name' => 'queue_name', @@ -113,6 +116,9 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO { 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, + 'table_name' => 'civicrm_queue_item', + 'entity' => 'QueueItem', + 'bao' => 'CRM_Queue_BAO_QueueItem', 'html' => array( 'type' => 'Text', ) , @@ -122,6 +128,9 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Order') , 'required' => true, + 'table_name' => 'civicrm_queue_item', + 'entity' => 'QueueItem', + 'bao' => 'CRM_Queue_BAO_QueueItem', 'html' => array( 'type' => 'Text', ) , @@ -132,6 +141,9 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO { 'title' => ts('Submit Time') , 'description' => 'date on which this item was submitted to the queue', 'required' => true, + 'table_name' => 'civicrm_queue_item', + 'entity' => 'QueueItem', + 'bao' => 'CRM_Queue_BAO_QueueItem', 'html' => array( 'type' => 'Select Date', ) , @@ -141,6 +153,9 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Release Time') , 'description' => 'date on which this job becomes available; null if ASAP', + 'table_name' => 'civicrm_queue_item', + 'entity' => 'QueueItem', + 'bao' => 'CRM_Queue_BAO_QueueItem', 'html' => array( 'type' => 'Select Date', ) , @@ -150,6 +165,9 @@ class CRM_Queue_DAO_QueueItem extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Queue item datas') , 'description' => 'Serialized queue', + 'table_name' => 'civicrm_queue_item', + 'entity' => 'QueueItem', + 'bao' => 'CRM_Queue_BAO_QueueItem', ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);