create( (string) $queue_handle )

Description

Creates a queue with the declared handle. A queue is a collection of files in the modules/formulize/queue folder, which contain PHP code. Each file will be executed in sequence when the queue is processed.

Parameters

$queue_handle - a string used to identify the queue

Return Values

Returns an object representing the queue that was created.

Example

$queueHandler = xoops_getModuleHandler('queue', 'formulize');
$queue = $queueHandler->create('my-queue');