/** * @param string $s_Name The name of the attribute * * @return mixed The attribute or null if it does not exist */ public function __get($s_Name) { switch ($s_Name) { case 'id': return $this->_o_Config->id; case 'status': return $this->_o_ClientEntity->status; case 'password': return $this->_o_ClientEntity->getRSAEncryptedPassword(); default: return null; } }