예제 #1
0
 public function __get($name = "")
 {
     try {
         if (strlen($name) < 1) {
             throw new LBoxExceptionForm(LBoxExceptionForm::MSG_PARAM_STRING_NOTNULL, LBoxExceptionForm::CODE_BAD_PARAM);
         }
         switch ($name) {
             case "form":
                 return $this->getCurrentForm();
                 break;
         }
         return parent::__get($name);
     } catch (Exception $e) {
         throw $e;
     }
 }