You are here

function taxonomy_get_term in Drupal 4

Same name and namespace in other branches
  1. 5 modules/taxonomy/taxonomy.module \taxonomy_get_term()
  2. 6 modules/taxonomy/taxonomy.module \taxonomy_get_term()

Return the term object matching a term ID.

10 calls to 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

... See full list

File

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

Code

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));
}