taxonomy_term_load_multiple
- Versions
- 7
taxonomy_term_load_multiple($tids = array(), $conditions = array())
Load multiple taxonomy terms based on certain conditions.
This function should be used whenever you need to load more than one term from the database. Terms are loaded into memory and will not require database access if loaded again during the same page request.
See also
Parameters
$tids An array of taxonomy term IDs.
$conditions An array of conditions to add to the query.
Return value
An array of term objects, indexed by tid.
Code
modules/taxonomy/taxonomy.module, line 860
<?php
function taxonomy_term_load_multiple($tids = array(), $conditions = array()) {
return entity_load('taxonomy_term', $tids, $conditions);
}
?>Login or register to post comments 