eZPublish  4.5
ezpContentPublishingQueue Class Reference
+ Inheritance diagram for ezpContentPublishingQueue:
+ Collaboration diagram for ezpContentPublishingQueue:

Static Public Member Functions

static add ($objectId, $version)
 Adds a draft to the publishing queue. More...
 
static isQueued ($objectId, $version)
 Checks if an object exists in the queue, whatever the status is. More...
 
static next ()
 Returns the next processable item. More...
 
static signals ()
 Returns the class signals handler. More...
 

Static Protected Member Functions

static attachHooks ($connector, $hooksList)
 Attaches hooks to a signal slot. More...
 
static initHooks ()
 Initializes queue hooks from INI settings. More...
 

Static Protected Attributes

static $signals = null
 

Member Function Documentation

static ezpContentPublishingQueue::add (   $objectId,
  $version 
)
static

Adds a draft to the publishing queue.

Parameters
int$objectId
int$version
Returns
ezpContentPublishingProcess

Referenced by eZContentOperationCollection\sendToPublishingQueue().

static ezpContentPublishingQueue::attachHooks (   $connector,
  $hooksList 
)
staticfinalprotected

Attaches hooks to a signal slot.

Parameters
string$connectorslot name (preQueue/postQueue)
array$hookslist of hooks (callbacks) to attach
static ezpContentPublishingQueue::initHooks ( )
staticfinalprotected

Initializes queue hooks from INI settings.

static ezpContentPublishingQueue::isQueued (   $objectId,
  $version 
)
static

Checks if an object exists in the queue, whatever the status is.

Parameters
int$objectId
int$version
Returns
bool

Referenced by eZContentOperationCollection\sendToPublishingQueue().

static ezpContentPublishingQueue::next ( )
static

Returns the next processable item.

Returns
ezpContentPublishingProcess The next object to process, or false if none is available

Implements ezpContentPublishingQueueReaderInterface.

static ezpContentPublishingQueue::signals ( )
static

Returns the class signals handler.

Returns
ezcSignalCollection

Referenced by ezpContentPublishingProcess\publish().

Member Data Documentation

ezpContentPublishingQueue::$signals = null
staticprotected

The documentation for this class was generated from the following file: