Exemple #1
0
 /**
  * Returns a path to a route
  */
 public static function route($data)
 {
     $arguments = array_slice(func_get_args(), 1);
     if (!$arguments) {
         $arguments = array();
     }
     $route = Router::route($data);
     array_unshift($arguments, $route);
     return call_user_func_array(array('\\Concrete\\Core\\Routing\\URL', 'to'), $arguments);
 }
 public function route($data)
 {
     return parent::route($data);
 }