_taxonomy_depth

Versions
4.6 – 4.7
_taxonomy_depth($depth, $graphic = '--')

▾ 5 functions call _taxonomy_depth()

forum_overview in modules/forum.module
Returns an overview list of existing forums and containers
taxonomy_form_all in modules/taxonomy.module
Generate a set of options for selecting a term from all vocabularies. Can be passed to form_select.
taxonomy_overview_terms in modules/taxonomy.module
Display a tree of all the terms in a vocabulary, with options to edit each one.
_forum_parent_select in modules/forum.module
Returns a select box for available parent terms
_taxonomy_term_select in modules/taxonomy.module

Code

modules/taxonomy.module, line 1067

<?php
function _taxonomy_depth($depth, $graphic = '--') {
  for ($n = 0; $n < $depth; $n++) {
    $result .= $graphic;
  }
  return $result;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.