You are here

function _taxonomy_depth in Drupal 4

5 calls to _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

File

modules/taxonomy.module, line 1067
Enables the organization of content into categories.

Code

function _taxonomy_depth($depth, $graphic = '--') {
  for ($n = 0; $n < $depth; $n++) {
    $result .= $graphic;
  }
  return $result;
}