You are here

function node_registration_load_multiple in Node registration 7

Loads multiple registrations by ID or based on a set of matching conditions.

10 calls to node_registration_load_multiple()
node_registration_cron in ./node_registration.module
Implements hook_cron().
node_registration_load in includes/node_registration.entity.inc
Loads a registration by ID.
node_registration_registrations_broadcast_form in includes/node_registration.forms.inc
Return a form for sending a broadcast email to participants.
node_registration_registrations_page in ./node_registration.module
Page callback for viewing registrations.
node_registration_send_broadcast in includes/node_registration.api.inc
Send an email to all registrations for a given node.

... See full list

File

includes/node_registration.entity.inc, line 648
Entity hooks and callbacks for registrations.

Code

function node_registration_load_multiple($registration_ids = FALSE, $conditions = array(), $reset = FALSE) {
  if (empty($registration_ids) && empty($conditions)) {
    return array();
  }
  return entity_load('node_registration', $registration_ids, $conditions, $reset);
}