示例#1
0
文件: URL.php 项目: vipkailiai/FCVOVA
 /**
  * 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);
 }
示例#2
0
 public function route($data)
 {
     return parent::route($data);
 }