public static function QueueUI::get in Queue UI 7.2
Return the QueueUI class object for working with.
Parameters
$class: The queue class name to work with.
Return value
mixed The queue object for a given name, or FALSE if the QueueUI class does not exist for the specified queue class.
2 calls to QueueUI::get()
- queue_ui_overview_form in ./
queue_ui.pages.inc - _queue_ui_queueclass in ./
queue_ui.module - Retrieve the QueueUI object for the class a particular queue is implemented as.
File
- lib/
QueueUI.php, line 16
Class
Code
public static function get($class) {
if (class_exists($class)) {
$object = new $class();
return $object;
}
// If class does not exist then QueueUI has not been implemented for this class.
return FALSE;
}