function _drupalgap_taxonomy_get_terms in DrupalGap 6
Same name and namespace in other branches
- 7.2 drupalgap.resource.inc \_drupalgap_taxonomy_get_terms()
- 7 drupalgap.resource.inc \_drupalgap_taxonomy_get_terms()
DrupalGap interface to taxonomy_get_tree().
See also
1 string reference to '_drupalgap_taxonomy_get_terms'
- drupalgap_services_resources in ./
drupalgap.services.inc - Defines function signatures for resources available to services.
File
- ./
drupalgap.resource.inc, line 430 - This file implements the DrupalGap service resource call back functions.
Code
function _drupalgap_taxonomy_get_terms($vid, $parent = 0, $max_depth = NULL) {
$terms = taxonomy_get_tree($vid, $parent, $max_depth);
return $terms;
}