public function __get($strName) { switch ($strName) { // MISC case "FileName": return $this->strFileName; case "Type": return $this->strType; case "Size": return $this->intSize; case "File": return $this->strFile; case "Error": return $this->intError; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { // MISC case "FileName": return $this->strFileName; case "Type": return $this->strType; case "Size": return $this->intSize; case "File": return $this->strFile; case "UploadPath": return $this->strUploadPath; case "WebPath": return $this->strWebPath; case "ThumbUploadPath": return $this->strThumbUploadPath; case "ThumbWebPath": return $this->strThumbWebPath; case "BuildThumbs": return $this->boolBuildThumbs; case "ThumbWidth": return $this->intThumbWidth; case "ThumbHeight": return $this->intThumbHeight; case "ThumbPrefix": return $this->strThumbPrefix; case "Prefix": return $this->strPrefix; case "Suffix": return $this->strSuffix; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }