You are here

public function Messaging_Message::__get in Messaging 6.4

Magic method, get protected properties

File

includes/messaging_message.class.inc, line 716
Drupal Messaging Framework - Message class file

Class

Messaging_Message
Message class

Code

public function __get($name) {
  switch ($name) {
    case 'sender_account':
      return $this
        ->get_sender();
    case 'user':
    case 'account':
      return $this
        ->get_user();
  }
}