Load multiple taxonomy vocabularies based on certain conditions.
This function should be used whenever you need to load more than one vocabulary from the database. Terms are loaded into memory and will not require database access if loaded again during the same page request.
$vids: An array of taxonomy vocabulary IDs, or FALSE to load all vocabularies.
$conditions: An array of conditions to add to the query.
An array of vocabulary objects, indexed by vid.
function taxonomy_vocabulary_load_multiple($vids = array(), $conditions = array()) {
return entity_load('taxonomy_vocabulary', $vids, $conditions);
}