Exemple #1
0
 /**
 Just return how it would be parsed
 */
 function get_params_for_url($url)
 {
     $u = Usher::get_instance();
     $params = $u->match_url($url);
     return $params;
 }
Exemple #2
0
<?php

$u = Usher::get_instance();
# default
$u->map('/:controller/:action/:id', array('id' => NULL));