| 5 taxonomy.module | taxonomy_get_term($tid) |
| 6 taxonomy.module | taxonomy_get_term($tid, $reset = FALSE) |
Return the term object matching a term ID.
10 calls to taxonomy_get_term()
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));
}
Login or register to post comments