__get() public method

public __get ( $name )
示例#1
0
 /**
  */
 public function __get($name)
 {
     switch ($name) {
         case 'recipients':
             return $this->_recipients;
     }
     return parent::__get($name);
 }
示例#2
0
 /**
  */
 public function __get($name)
 {
     switch ($name) {
         case 'msg_id':
             return $this->_msgId;
     }
     return parent::__get($name);
 }