示例#1
0
文件: handler.php 项目: boolive/forms
 function startCheck(Request $request)
 {
     $input = $request->getInput();
     if (!isset($input['REQUEST']['handler']) && isset($input['REQUEST']['form'])) {
         $request->mix(['REQUEST' => ['handler' => $input['REQUEST']['form']]]);
     }
     return parent::startCheck($request);
 }
示例#2
0
 protected function rule()
 {
     $rule = parent::rule();
     //        $rule->arrays[0]['file']->arrays[0]['name']->ospatterns('*.js');
     return $rule;
 }
示例#3
0
 function name($new_name = null, $choose_unique = false)
 {
     return parent::name($this->uri() === '/' ? null : $new_name, false);
 }