function gprofile_load_multiple in Group 7
Load multiple group member profiles.
Parameters
array $pids: (optional) An array of GProfile ids to load.
bool $reset: (optional) Whether to reset the internal cache.
Return value
array An array of GProfile entities, keyed by their profile ids.
See also
3 calls to gprofile_load_multiple()
- gprofile_group_membership_view in modules/
gprofile/ gprofile.entity.inc - Implements hook_group_membership_view().
- gprofile_load_by_member in modules/
gprofile/ helpers/ gprofile.entity.inc - Load all group member profiles for a given membership.
- gprofile_load_by_type in modules/
gprofile/ helpers/ gprofile.entity.inc - Load all group member profiles for a given type.
File
- modules/
gprofile/ helpers/ gprofile.entity.inc, line 20 - Entity API related helper functions for group member profiles.
Code
function gprofile_load_multiple(array $pids = array(), $reset = FALSE) {
return entity_load('gprofile', $pids, array(), $reset);
}