function hook_vocab_get_terms

3.x tripal.terms.api.inc hook_vocab_get_terms($vocabulary, $limit = 25, $element = 0)

Retrieves a paged list of terms from a vocabulary.

Parameters

$vocabulary: The short name of the vocabulary.

$limit: The number of results to return.

$element: The pager element. This is equivalent to the element from the pager_default_initialize() function of Drupal.

Related topics

1 function implements hook_vocab_get_terms()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

tripal_chado_vocab_get_terms in tripal_chado/includes/tripal_chado.vocab_storage.inc
Implements hook_vocab_get_terms().

File

tripal/api/tripal.terms.api.inc, line 192
Provides an application programming interface (API) for working with controlled vocaublary terms.

Code

function hook_vocab_get_terms($vocabulary, $limit = 25, $element = 0) {
  // See the tripal_chado_vocab_get_terms() function for an example.
}