예제 #1
0
 public function __get($sName)
 {
     // 找到 frameview
     if ($this->arrFrameViews and isset($this->arrFrameViews[$sName])) {
         return $this->arrFrameViews[$sName];
     } else {
         if ($this->arrFrameViews and strlen($sName) > 4 and substr($sName, 0, 4) == 'view' and isset($this->arrFrameViews[$sViewName = substr($sName, 4)])) {
             return $this->arrFrameViews[$sViewName];
         } else {
             return parent::__get($sName);
         }
     }
 }