You are here

function invite_load in Invite 7.4

Same name and namespace in other branches
  1. 5.2 invite.module \invite_load()
  2. 5 invite.module \invite_load()
  3. 6.2 invite.module \invite_load()
  4. 7.2 invite.module \invite_load()

Loads Invite by Id.

Parameters

int $iid: Invite entity ID.

bool $reset: Whether to reset the internal cache for the requested entity type.

Return value

Invite

4 calls to invite_load()
invite_by_email_mail in modules/invite_by_email/invite_by_email.module
Implements hook_mail().
invite_by_email_send_invitation in modules/invite_by_email/invite_by_email.module
Implements sending_controller_send_invitation function.
invite_notifications_get_message in modules/invite_notifications/invite_notifications.module
Get Messages.
theme_invite_registered_user_notification in modules/invite_notifications/invite_notifications.module
Registered User Notification.
1 string reference to 'invite_load'
invite_entity_info in ./invite.module
Implements hook_entity_info().

File

./invite.module, line 589

Code

function invite_load($iid, $reset = FALSE) {
  $invites = invite_load_multiple(array(
    $iid,
  ), array(), $reset);
  return reset($invites);
}