function registration_load_multiple in Entity Registration 7
Same name and namespace in other branches
- 8.2 registration.module \registration_load_multiple()
- 8 registration.module \registration_load_multiple()
- 7.2 registration.module \registration_load_multiple()
Loads multiple registrations by ID or based on a set of matching conditions.
Parameters
$registration_ids:
$conditions: An array of conditions on the {registration} table in the form 'field' => $value.
$reset: Whether to reset the internal registration loading cache.
Return value
An array of registration objects indexed by registration_id.
See also
5 calls to registration_load_multiple()
- RegistrationViewsHandlerStateEdit::views_form_submit in modules/
registration_views/ registration_views.module - Form submit method.
- registration_cron in ./
registration.module - Implements hook_cron().
- registration_load in ./
registration.module - Loads a registration by ID.
- registration_registrations_page in ./
registration.module - Page callback: Show a list of registrations for a host entity.
- registration_send_broadcast in ./
registration.module - Send an email to all registrations for a host entity.
File
- ./
registration.module, line 1868
Code
function registration_load_multiple($registration_ids = array(), $conditions = array(), $reset = FALSE) {
if (empty($registration_ids) && empty($conditions)) {
return array();
}
return entity_load('registration', $registration_ids, $conditions, $reset);
}