Hi,
i need a way to get the route name and the params from an Url of the
application.
For example, if i have the following route...
$page = new Zend_Controller_Router_Route(
'/:ident',
array(
'module' => 'core',
'controller' => 'pagine',
'action' => 'view',
'language' => 'it'
),
array(
'ident' => '[a-zA-Z-_0-9]{3,}'
)
);
$router->addRoute('pagina', $page);
...and i have the URL "/contatti" then i would know that the matched
route is "pagina" and the parameters are ident=contatti and language=it
Is possible ask this directly to the router?
Antonio from Italy