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); }
protected function rule() { $rule = parent::rule(); // $rule->arrays[0]['file']->arrays[0]['name']->ospatterns('*.js'); return $rule; }
function name($new_name = null, $choose_unique = false) { return parent::name($this->uri() === '/' ? null : $new_name, false); }