function newsletter_list_load_multiple in Newsletter 7.2
Loads multiple lists by ID or based on a set of matching conditions.
Parameters
$nlids: An array of list IDs.
$conditions: Deprecated. use EntityFieldQuery instead.
$reset: Whether to reset the internal list loading cache.
Return value
An array of newsletter list objects indexed by nsid.
See also
1 call to newsletter_list_load_multiple()
- newsletter_list_load in modules/
list/ newsletter_list.module - Loads a newsletter list by ID.
File
- modules/
list/ newsletter_list.module, line 126
Code
function newsletter_list_load_multiple($nlids = array(), $conditions = array(), $reset = FALSE) {
if (empty($nlids) && empty($conditions)) {
return array();
}
return entity_load('newsletter_list', $nlids, $conditions, $reset);
}