taxonomy_get_term

Versions
4.6 – 6
taxonomy_get_term($tid)

Return the term object matching a term ID.

▾ 10 functions call taxonomy_get_term()

forum_get_topics in modules/forum.module
forum_menu in modules/forum.module
Implementation of hook_menu().
forum_validate in modules/forum.module
Implementation of hook_validate().
taxonomy_admin_term_edit in modules/taxonomy.module
Page to list terms for a vocabulary
taxonomy_del_term in modules/taxonomy.module
taxonomy_get_parents_all in modules/taxonomy.module
Find all ancestors of a given term ID.
taxonomy_select_nodes in modules/taxonomy.module
Finds all nodes that match selected taxonomy conditions.
taxonomy_term_page in modules/taxonomy.module
Menu callback; displays all nodes associated with a term.
_forum_confirm_delete in modules/forum.module
Returns a confirmation page for deleting a forum taxonomy term.
_taxonomy_confirm_del_term in modules/taxonomy.module

Code

modules/taxonomy.module, line 1027

<?php
function taxonomy_get_term($tid) {
  // simple cache using a static var?
  return db_fetch_object(db_query('SELECT * FROM {term_data} WHERE tid = %d', $tid));
}
?>
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.