/** * PHP magic method * @param string $strName * * @return mixed * @throws Exception|QCallerException */ public function __get($strName) { switch ($strName) { case "Selected": return $this->blnSelected; case "ItemGroup": return $this->strItemGroup; case "Label": return $this->strLabel; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
/** * PHP magic method * @param string $strName * * @return mixed * @throws Exception|QCallerException */ public function __get($strName) { switch ($strName) { case "Anchor": return $this->strAnchor; case "Tag": return $this->strTag; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }