refactored validators.

This commit is contained in:
Qiang Xue
2013-04-03 23:23:32 -04:00
parent b5b1d91e90
commit 3bd186deeb
17 changed files with 310 additions and 222 deletions

View File

@@ -580,8 +580,9 @@ abstract class Module extends Component
* instance of it.
*
* @param string $route the route consisting of module, controller and action IDs.
* @return array|boolean if the controller is created successfully, it will be returned together
* with the remainder of the route which represents the action ID. Otherwise false will be returned.
* @return array|boolean If the controller is created successfully, it will be returned together
* with the requested action ID. Otherwise false will be returned.
* @throws InvalidConfigException if the controller class and its file do not match.
*/
public function createController($route)
{