function Messaging_Destination::set_user in Messaging 7
Set user for this destination
1 method overrides Messaging_Destination::set_user()
- Messaging_User_Destination::set_user in ./
messaging.destination.inc - Set user for this destination
File
- ./
messaging.destination.inc, line 73 - Drupal Messaging Framework - Default class file
Class
- Messaging_Destination
- Message destination class
Code
function set_user($user) {
$this->uid = $user->uid;
$this->name = $user->name;
if (!isset($this->address)) {
$this->address = $this
->get_address_from_user($user);
}
return $this;
}