Formulize

Forms, workflows, and reporting. 100% free and open source.

Version 7.43 out now!How to installHow to update

Download .zip View on GitHub Join us on Slack Follow on Twitter

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');