function nodequeue_load_subqueue in Nodequeue 6.2
Same name and namespace in other branches
- 5.2 nodequeue.module \nodequeue_load_subqueue()
- 7.3 nodequeue.module \nodequeue_load_subqueue()
- 7.2 nodequeue.module \nodequeue_load_subqueue()
Load a single subqueue.
Parameters
$sqid: The subqueue ID to load.
$bypass_cache: Boolean value indicating whether to bypass the cache or not.
4 calls to nodequeue_load_subqueue()
- nodequeue_arrange_subqueue_form_add_submit in includes/
nodequeue.admin.inc - nodequeue_save_subqueue_order in includes/
nodequeue.admin.inc - Validates new subqueue order information and if it passes validation, deletes the old subqueue data from the database and saves the new data.
- nodequeue_subqueue_shuffle in ./
nodequeue.module - Shuffle a queue.
- _nodequeue_autocomplete in includes/
nodequeue.admin.inc
File
- ./
nodequeue.module, line 796 - Maintains queues of nodes in arbitrary order.
Code
function nodequeue_load_subqueue($sqid, $bypass_cache = FALSE) {
$subqueues = nodequeue_load_subqueues(array(
$sqid,
), $bypass_cache);
if ($subqueues) {
return array_shift($subqueues);
}
}