class QueueUI in Queue UI 7.2
Hierarchy
- class \QueueUI
Expanded class hierarchy of QueueUI
2 string references to 'QueueUI'
- 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 4
View source
class QueueUI {
/**
* Return the QueueUI class object for working with.
*
* @param $class
* The queue class name to work with.
*
* @return mixed
* The queue object for a given name, or FALSE if the QueueUI class does not exist for
* the specified queue class.
*/
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;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
QueueUI:: |
public static | function | Return the QueueUI class object for working with. |