public function __get($strName) { switch ($strName) { case 'Visible': return $this->getVisible(); case 'Sharable': return $this->getSharable(); case 'IsMine': return $this->getIsMine(); default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }