コード例 #1
0
 public function __get($strName)
 {
     switch ($strName) {
         case "OrderByClause":
             return $this->objOrderByClause;
         case "ReverseOrderByClause":
             return $this->objReverseOrderByClause;
         case "Format":
             return $this->strFormat;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }
コード例 #2
0
 public function __get($strName)
 {
     switch ($strName) {
         case 'Closure':
             return $this->objClosure;
         default:
             try {
                 return parent::__get($strName);
             } catch (QCallerException $objExc) {
                 $objExc->IncrementOffset();
                 throw $objExc;
             }
     }
 }