Taxonomies


Vocabulary(*)
  Term(*)

terms can have other terms as parents


login
structure
taxonomy
  vocabularies
     terms
       relations(ex: parent, weight)

So a vocabulary looks much like a content type. or at least has features of a content type.

Does it mean it has to have fields defined by the vocabulary?

Can terms be parents across vocabularies?

Search for: Can terms be parents across vocabularies?

drupal taxonomy functions api

Search for: drupal taxonomy functions api

drupal 7 taxonomy api

How can I get the terms in a taxonomy vocabulary using a taxonomy function in drupal

Search for: How can I get the terms in a taxonomy vocabulary using a taxonomy function in drupal

list terms in a vocabulary taxonomy_get_tree function

Search for: list terms in a vocabulary taxonomy_get_tree function

taxonomy_get_tree() function reference

drupal taxonomy table definitions

Search for: drupal taxonomy table definitions


Go to dev block
execute php code
type in

$vocabularies = taxonomy_vocabulary_get_names();
dpm($vocabularies);

You can see all the vocabularies listed. You can navigate through the printed array to discover properties. For a given vocab name you can find

name
machine name
vid

<table>     
<tr>              
  <td><?php echo t('To');?>:</td>              
  <td><?php echo $variable1;?></td>            
</tr>
<tr>
<td><?php echo render($form);?></td>
<td>.....</td>
</tr>
</table>