public function Messaging_User_Object::get_user in Messaging 6.4
Get destination user
2 calls to Messaging_User_Object::get_user()
- Messaging_User_Object::get_user_name in includes/
messaging_object.class.inc - Get destination user name, either from user object or from a user_name property.
- Messaging_User_Object::set_language in includes/
messaging_object.class.inc - Set language object / property
File
- includes/
messaging_object.class.inc, line 56 - Drupal Messaging Framework - Base classes
Class
- Messaging_User_Object
- Messaging user's object
Code
public function get_user() {
if (!isset($this->_user) && isset($this->uid)) {
$this->_user = messaging_load_user($this->uid);
}
return isset($this->_user) ? $this->_user : NULL;
}