/** Just return how it would be parsed */ function get_params_for_url($url) { $u = Usher::get_instance(); $params = $u->match_url($url); return $params; }
<?php $u = Usher::get_instance(); # default $u->map('/:controller/:action/:id', array('id' => NULL));