Class

ezpContentPublishingQueueProcessor

class ezpContentPublishingQueueProcessor

This class manages the publishing queue through ezpContentPublishingProcess persistent objects

Methods

__construct()

static ezpContentPublishingQueueProcessor instance()

Singleton class loader

void run()

Main method: infinite method that monitors queued objects, and starts the publishinbg processes if allowed

childSignalHandler($signo, $pid = null, $status = null)

Child process signal handler

static  terminate()

Stops processing the queue, and cleanup what's currently running

void setOutput(ezpAsynchronousPublisherOutput $output)

Sets the used output class

setSignalHandler($signalHandler)

Sets the signal handler to $signalHandler

Details

at line 22
public __construct()

at line 52
static public ezpContentPublishingQueueProcessor instance()

Singleton class loader

at line 79
public void run()

Main method: infinite method that monitors queued objects, and starts the publishinbg processes if allowed

Return Value

void

at line 218
public childSignalHandler($signo, $pid = null, $status = null)

Child process signal handler

Parameters

$signo
$pid
$status

at line 271
static public terminate()

Stops processing the queue, and cleanup what's currently running

at line 300
public void setOutput(ezpAsynchronousPublisherOutput $output)

Sets the used output class

Parameters

ezpAsynchronousPublisherOutput $output

Return Value

void

at line 312
public setSignalHandler($signalHandler)

Sets the signal handler to $signalHandler

Parameters

$signalHandler