class Router
Base class for routing of requests (DVelum 0.9 and higher versions).
abstract class Router { /** * @var Request */ protected $_request; public function __construct() /** * Route request */ abstract public function route(); /** * Calc url for module * @param string $module — module name * @return string */ abstract public function findUrl($module); /** * Run controller * @param string $controller - controller class * @param string $action - action name * @return mixed */ public function runController($controller , $action = false) }comments powered by Disqus