Flake\Util\Router::buildCurrentRoute PHP Method

buildCurrentRoute() static public method

static public buildCurrentRoute ( )
    static function buildCurrentRoute()
    {
        $aParams = func_get_args();
        $sCurrentRoute = $GLOBALS["ROUTER"]::getCurrentRoute();
        array_unshift($aParams, $sCurrentRoute);
        # Injecting route as first param
        return call_user_func_array($GLOBALS["ROUTER"] . "::buildRoute", $aParams);
    }