Example #1
0
 public function __get($strName)
 {
     switch ($strName) {
         // APPEARANCE
         case "ScaleCanvasDown":
             return $this->blnScaleCanvasDown;
         case "ScaleImageUp":
             return $this->blnScaleImageUp;
             // BEHAVIOR
         // BEHAVIOR
         case "ImageType":
             return $this->strImageType;
         case "Quality":
             return $this->intQuality;
             // MISCELLANEOUS
         // MISCELLANEOUS
         case "CacheFolder":
             return $this->strCacheFolder;
         case "CacheFilename":
             return $this->strCacheFilename;
         case "ImagePath":
             return $this->strImagePath;
         case "AlternateText":
             return $this->strAlternateText;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }