You are here

function _queue_ui_queueclass in Queue UI 7.2

Retrieve the QueueUI object for the class a particular queue is implemented as.

Parameters

$queue_name: The name of the queue to retrieve the QueueUI class for.

Return value

mixed The QueueUI object for the relevant queue class, or FALSE if not found.

6 calls to _queue_ui_queueclass()
queue_ui_delete_item_form in ./queue_ui.forms.inc
Delete a specified queue item.
queue_ui_delete_item_form_submit in ./queue_ui.forms.inc
Form submission handler for queue_ui_delete_item_form().
queue_ui_release_item_form in ./queue_ui.forms.inc
Releases an item from its queue by setting expiry to zero).
queue_ui_release_item_form_submit in ./queue_ui.forms.inc
Form submission handler for queue_ui_release_item_form().
queue_ui_view_queue in ./queue_ui.forms.inc
View all the items in a queue.

... See full list

File

./queue_ui.module, line 113
queue_ui.module

Code

function _queue_ui_queueclass($queue_name) {
  $queue = DrupalQueue::get($queue_name);
  $class = get_class($queue);
  return QueueUI::get('QueueUI' . $class);
}