You are here

function _jdrupal_taxonomy_get_terms in jDrupal 7

jdrupal interface to taxonomy_get_tree().

See also

taxonomy_get_tree()

1 string reference to '_jdrupal_taxonomy_get_terms'
jdrupal_services_resources in ./jdrupal.services.inc
Defines function signatures for resources available to services.

File

./jdrupal.resource.inc, line 226
This file implements the jdrupal service resource call back functions.

Code

function _jdrupal_taxonomy_get_terms($vid, $parent = 0, $max_depth = NULL) {
  $terms = taxonomy_get_tree($vid, $parent, $max_depth);
  return $terms;
}