kernel/private/classes/ezpcontentpublishingqueue.php
File containing the ezpContentPublishingQueue class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- Version
- 4.6.0
\ezpContentPublishingQueue
Package: kernel
This class manages the content publishing queue. It accepts new items for input, and provides information about the current queue
- Parent(s)
- \ezpContentPublishingQueueReaderInterface
- Since
- 4.5
Properties
Methods


add(
int $objectId, int $version
)
:
\ezpContentPublishingProcess
static
Adds a draft to the publishing queue
Parameters
Returns
Name | Type | Description |
---|---|---|
$objectId | int | |
$version | int |
Type | Description |
---|---|
\ezpContentPublishingProcess |


attachHooks(
string $connector, $hooksList
)
:
void
staticfinal
Attaches hooks to a signal slot
Parameters
Name | Type | Description |
---|---|---|
$connector | string | slot name (preQueue/postQueue) |
$hooksList |


isQueued(
int $objectId, int $version
)
:
bool
static
Checks if an object exists in the queue, whatever the status is
Parameters
Returns
Name | Type | Description |
---|---|---|
$objectId | int | |
$version | int |
Type | Description |
---|---|
bool |


next(
)
:
\ezpContentPublishingProcess
static
Returns the next processable item
Returns
Type | Description |
---|---|
\ezpContentPublishingProcess | The next object to process, or false if none is available |