function Messaging_Destination::get_name in Messaging 7
Get address name (will be user name if available)
1 call to Messaging_Destination::get_name()
- Messaging_Destination::format in ./
messaging.destination.inc - Format destination
File
- ./
messaging.destination.inc, line 43 - Drupal Messaging Framework - Default class file
Class
- Messaging_Destination
- Message destination class
Code
function get_name() {
if (isset($this->name)) {
return $this->name;
}
else {
return $this
->get_user()->name;
}
}