run() public method
Runs a request specified in terms of a route.
The route can be either an ID of an action within this controller or a complete route consisting of module IDs, controller ID and action ID. If the route starts with a slash '/', the parsing of the route will start from the application; otherwise, it will start from the parent module of this controller.
See also runAction().
| public mixed run ( $route, $params = [] ) | ||
|---|---|---|
| $route | string | 
 The route to be handled, e.g., 'view', 'comment/view', '/admin/comment/view'.  |  
| $params | array | 
 The parameters to be passed to the action.  |  
| return | mixed | 
 The result of the action.  |  
Please login to continue.