You are here

function messaging_user_property in Messaging 6.4

Helper function, get user object property from account parameter (object or uid)

1 call to messaging_user_property()
Messaging_Send_Method::get_user_address in includes/messaging_method.class.inc
Get address for user account

File

./messaging.module, line 1275

Code

function messaging_user_property($account, $property) {
  $account = messaging_user_object($account);
  return $account && isset($account->{$property}) ? $account->{$property} : NULL;
}