Beispiel #1
0
 public function __get($strName)
 {
     switch ($strName) {
         case 'EntityQtypeId':
             return $this->intEntityQtypeId;
         case 'EntityId':
             return $this->intEntityId;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
Beispiel #2
0
 public function __get($strName)
 {
     switch ($strName) {
         case 'MaxFileSize':
             return $this->intMaxFileSize;
         case 'UnacceptableFileSizeMessage':
             return $this->strUnacceptableFileSizeMessage;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }