_taxonomy_depth

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

▾ 3 functions call _taxonomy_depth()

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 in modules/taxonomy.module
Generate a tabular listing of administrative functions for vocabularies.
_taxonomy_term_select in modules/taxonomy.module

Code

modules/taxonomy.module, line 773

<?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.