function og_membership_load_multiple in Organic groups 7.2
Same name and namespace in other branches
- 7 og.module \og_membership_load_multiple()
Load multiple OG membership entities based on certain conditions.
Parameters
$gids: An array of group membership IDs.
$conditions: An array of conditions to match against the {entity} table.
$reset: A boolean indicating that the internal cache should be reset.
Return value
An array of group entities, indexed by group ID.
4 calls to og_membership_load_multiple()
- og_get_group_members_properties in ./
og.module - Property getter callback for group members.
- og_rules_get_group_content in ./
og.rules.inc - Action: Fetch group content of a certain entity type.
- _og_orphans_delete in ./
og.module - Helper function to delete orphan group-content.
- _og_orphans_move in ./
og.module - Helper function to move orphan group-content to another group.
File
- ./
og.module, line 1323 - Enable users to create and manage groups with roles and permissions.
Code
function og_membership_load_multiple($ids = array(), $conditions = array(), $reset = FALSE) {
return entity_load('og_membership', $ids, $conditions, $reset);
}