public function __get($strName) { switch ($strName) { case "Src": return $this->strSrc; case "FileLoc": return $this->strFileLoc; case "MediaObject": return $this->objMedia; case "FileUrl": $arrFileInfo = path_info($this->strFileLoc); return sprintf('http://%s/%s/%s', $_SERVER['DOCUMENT_ROOT'], __UPLOAD_ASSETS__, $arrFileInfo['basename']); case "Success": return $this->strSuccess; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { /* // APPEARANCE case "Columns": return $this->intColumns; case "Text": return $this->strText; case "LabelForRequired": return $this->strLabelForRequired; case "LabelForRequiredUnnamed": return $this->strLabelForRequiredUnnamed; case "LabelForTooShort": return $this->strLabelForTooShort; case "LabelForTooShortUnnamed": return $this->strLabelForTooShortUnnamed; case "LabelForTooLong": return $this->strLabelForTooLong; case "LabelForTooLongUnnamed": return $this->strLabelForTooLongUnnamed; // BEHAVIOR case "MaxLength": return $this->intMaxLength; case "MinLength": return $this->intMinLength; case "ReadOnly": return $this->blnReadOnly; case "Rows": return $this->intRows; */ case "CrossScripting": return $this->strCrossScripting; case "TextMode": return $this->strTextMode; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { case "Checked": return $this->blnChecked; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { case "Href": return $this->Attr('href'); default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }