PHP Class Queue\Controller\Admin\QueueController

Inheritance: extends App\Controller\AppController
显示文件 Open project: dereuromark/cakephp-queue

Public Properties

Property Type Description
$modelClass string

Public Methods

Method Description
beforeFilter ( Cake\Event\Event $event ) : void QueueController::beforeFilter()
index ( ) : void Admin center.
reset ( ) : Response Truncate the queue list / table.

Protected Methods

Method Description
_status ( ) : array QueueController::_status()

Method Details

_status() protected method

If pid loggin is enabled, will return an array with - time: int Timestamp - workers: int Count of currently running workers
protected _status ( ) : array
return array Status array

beforeFilter() public method

QueueController::beforeFilter()
public beforeFilter ( Cake\Event\Event $event ) : void
$event Cake\Event\Event
return void

index() public method

Manage queues from admin backend (without the need to open ssh console window).
public index ( ) : void
return void

reset() public method

Truncate the queue list / table.
public reset ( ) : Response
return Cake\Network\Response

Property Details

$modelClass public_oe property

public string $modelClass
return string