/** * @param string $strName * @return int|mixed|null|string * @throws QCallerException * @throws \Exception * @throws \QCallerException */ public function __get($strName) { switch ($strName) { case 'SelectedId': return $this->strSelectedItemId; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __set($strName, $mixValue) { switch ($strName) { case 'PanelStyle': $this->strPanelStyle = \QType::Cast($mixValue, \QType::String); break; default: try { parent::__set($strName, $mixValue); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } break; } }