You are here

function nodequeue_load_subqueue in Nodequeue 5.2

Same name and namespace in other branches
  1. 6.2 nodequeue.module \nodequeue_load_subqueue()
  2. 7.3 nodequeue.module \nodequeue_load_subqueue()
  3. 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.

6 calls to nodequeue_load_subqueue()
nodequeue_admin_view in ./nodequeue.module
Page callback to view a queue.
nodequeue_arrange_subqueue_form_submit in ./nodequeue.module
Submit function for nodequeue_arrange_subqueue_form
nodequeue_menu in ./nodequeue.module
Implementation of hook_menu
nodequeue_subqueue_shuffle in ./nodequeue.module
Shuffle a queue.
_nodequeue_ajax_add in ./nodequeue.module

... See full list

File

./nodequeue.module, line 1670

Code

function nodequeue_load_subqueue($sqid, $bypass_cache = FALSE) {
  $subqueues = nodequeue_load_subqueues(array(
    $sqid,
  ), $bypass_cache);
  if ($subqueues) {
    return array_shift($subqueues);
  }
}