/** * Return an object property * @param string * @return mixed */ public function __get($strKey) { if (isset($this->arrData[$strKey])) { return $this->arrData[$strKey]; } if ($this->objDc->{$strKey} !== null) { return $this->objDc->{$strKey}; } return parent::__get($strKey); }
/** * Return an object property * @param string * @return mixed */ public function __get($strKey) { if (isset($this->arrData[$strKey])) { return $this->arrData[$strKey]; } try { return $this->objDc->{$strKey}; } catch (Exception $e) { return parent::__get($strKey); } }
/** * Return an object property * * @param string $strKey * * @return mixed */ public function __get($strKey) { switch ($strKey) { case 'id': return $this->intId; break; case 'table': return $this->strTable; break; case 'value': return $this->varValue; break; case 'field': return $this->strField; break; case 'inputName': return $this->strInputName; break; case 'palette': return $this->strPalette; break; case 'activeRecord': return $this->objActiveRecord; break; } return parent::__get($strKey); }
/** * Return an object property * @param string * @return mixed */ public function __get($strKey) { if (isset($this->arrData[$strKey])) { return $this->arrData[$strKey]; } return parent::__get($strKey); }