function taxonomy_csv_term_load in Taxonomy CSV import/export 6.3
Same name and namespace in other branches
- 6.5 taxonomy_csv.term.api.inc \taxonomy_csv_term_load()
- 6.2 taxonomy_csv.term.api.inc \taxonomy_csv_term_load()
- 6.4 taxonomy_csv.term.api.inc \taxonomy_csv_term_load()
Get a full term object by its id.
Parameters
$tid: The term id to get.
Return value
Found full term object.
2 calls to taxonomy_csv_term_load()
- taxonomy_csv_term_find in ./
taxonomy_csv.term.api.inc - Find and load a term.
- taxonomy_csv_term_load_geotaxonomy in formats/
geotaxonomy.format.inc - Get full term with specific geotaxonomy fields from a term id.
File
- ./
taxonomy_csv.term.api.inc, line 17 - Find, get and set full or detail term items.
Code
function taxonomy_csv_term_load($tid) {
$term = db_fetch_object(db_query('SELECT * FROM {term_data} WHERE tid = %d', $tid));
return $term ? taxonomy_csv_term_get_full($term) : FALSE;
}