public function __get($strName) { switch ($strName) { case 'Disabled': return $this->blnDisabled; case 'Icons': return $this->mixIcons; case 'Label': return $this->strLabel; case 'JqText': return $this->blnJqText; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
/** * PHP __get magic method implementation for the QRadioButton class * @param string $strName Name of the property * * @return array|bool|int|mixed|null|QControl|QForm|string * @throws Exception|QCallerException */ public function __get($strName) { switch ($strName) { // APPEARANCE case "GroupName": return $this->strGroupName; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }