How can I get all the taxonomy term objects from the database regardless of vocabulary? I can see in the Drupal taxonomy api taxonomy_get_tree() which returns an array of term objects, however, the vocabulary ID is a required object.  I thought also about taxonomy_term_load_multiple, but an array of IDs is necessary to populate it.

How can I get all the objects regardless of vocabulary affiliation? More or less what I am looking for is taxonomy_get_tree('all').

Each term object contains the [vid] it's associated with. I need to be able to loop through each object and determine the vocabulary it's associated with rather than the other way around.
You can use the entity_load() function. The second argument, $ids, is defined as such:


  An array of entity IDs, or FALSE to load all entities.


So you can get all taxonomy terms in the database with this simple call:

$all_terms = entity_load('taxonomy_term', FALSE);