예제 #1
0
파일: router.php 프로젝트: Kheros/MMOver
 /**
  * Fetches the URL of the current route.
  */
 public static function getURL(array $segments = null, array $parameters = null, $query_string = false)
 {
     if (!isset(self::$current_route)) {
         throw new vB_Exception_Router('URL requested for current route but no current route has been resolved.');
     }
     return self::$current_route->getCurrentURL(null, null, $query_string);
 }