function ad_load_multiple in Advertisement 7.2
Loads multiple ads by ID or based on a set of matching conditions.
Parameters
$aids: An array of ad IDs.
$conditions: An array of conditions on the {ad} table in the form 'field' => $value.
$reset: Whether to reset the internal ad loading cache.
Return value
An array of ad objects indexed by aids.
See also
File
- ./
ad.module, line 326 - Defines the core ad entity, including the entity itself, the bundle definitions (ad types), and various API functions to manage ads and interact with them through forms and autocompletes.
Code
function ad_load_multiple($aids = array(), $conditions = array(), $reset = FALSE) {
return entity_load('ad', $aids, $conditions, $reset);
}