You are here

function notifications_load_user in Notifications 6.4

Same name and namespace in other branches
  1. 5 notifications.cron.inc \notifications_load_user()
  2. 6 notifications.cron.inc \notifications_load_user()
  3. 6.2 notifications.cron.inc \notifications_load_user()
  4. 6.3 notifications.cron.inc \notifications_load_user()

Get users with static caching for existing users

Parameters

$uid: Uid of the user account to load, none to use anonymous user

5 calls to notifications_load_user()
notifications_destination_method_replace in includes/destination.inc
Update sending destinations when disabled a send method
notifications_lite_queue_event in notifications_lite/notifications_lite.module
Insert lite notification into queue if we have a valid destination
notifications_lite_send in notifications_lite/notifications_lite.module
Sends out a notification for a user
Notifications_Message::set_sender in includes/notifications_message.class.inc
Set message sender. Depending on options this will set sender account too.
_notifications_content_node_username in notifications_content/notifications_content.module
Get username from node (and add it to the node object)
1 string reference to 'notifications_load_user'
notifications_notifications in ./notifications.module
Implementation of hook_notifications()

File

./notifications.module, line 758
Notifications module

Code

function notifications_load_user($uid) {
  return messaging_load_user((int) $uid);
}