Helpers Taxonomy Functions

Functions

taxonomy_get_path($terms, $op = 'AND', $depth = 0, $feed = FALSE)

Build a path to a taxonomy listing page. Core patch pending at http://drupal.org/node/64664

  • Calling parameters
  • $terms
    a single numeric term id, or a single $term object or an array of numeric term ids or $term objects
    $op
    a string "AND" or "OR"
    $depth
    depth of the taxonomy tree that is to be returned. 0 equals the entire tree
    $feed
    TRUE for RSS feed, FALSE for page
  • Return
  • TRUE
    if the page is a node,
    FALSE
    if it is another page.