final public static function route(array $params)
    {

        if (!FEnv::isset("framework.smarty.called")) {
            FEnv::set("framework.smarty.called", 1);
        }
        $im = new \iumioFramework\Core\Masters\MasterCore();

        if (!isset($params['name'])) {
            throw new \Exception("The parameter [name] is missing to generate a valid route", E_ERROR);
        }
        $route = ($im->generateRoute(((isset($params['name']))? $params['name'] : ""), ((isset($params['params']) &&
            !empty($params['params']))? $params['params']  : null), ((isset($params['appname']) &&
            !empty($params['appname']))? $params['appname']  : null), ((isset($params['component']) &&
            $params['component'] == "yes")? true  : false)));
        return ($route);
    }
final public static function route(array $params)
    {

        if (!FEnv::isset("framework.smarty.called")) {
            FEnv::set("framework.smarty.called", 1);
        }
        $im = new \iumioFramework\Core\Masters\MasterCore();

        if (!isset($params['name'])) {
            throw new \Exception("The parameter [name] is missing to generate a valid route", E_ERROR);
        }
        $route = ($im->generateRoute(((isset($params['name']))? $params['name'] : ""), ((isset($params['params']) &&
            !empty($params['params']))? $params['params']  : null), ((isset($params['appname']) &&
            !empty($params['appname']))? $params['appname']  : null), ((isset($params['component']) &&
            $params['component'] == "yes")? true  : false)));
        return ($route);
    }
final public static function route ( array $ params ) { if ( ! FEnv :: isset ( "framework.smarty.called" ) ) { FEnv :: set ( "framework.smarty.called" , 1 ) ; } $ im = new \ iumioFramework \ Core \ Masters \ MasterCore ( ) ; if ( ! isset ( $ params [ 'name' ] ) ) { throw new \ Exception ( "The parameter [name] is missing to generate a valid route" , E_ERROR ) ; } $ route = ( $ im -> generateRoute ( ( ( isset ( $ params [ 'name' ] ) ) ? $ params [ 'name' ] : "" ) , ( ( isset ( $ params [ 'params' ] ) && ! empty ( $ params [ 'params' ] ) ) ? $ params [ 'params' ] : null ) , ( ( isset ( $ params [ 'appname' ] ) && ! empty ( $ params [ 'appname' ] ) ) ? $ params [ 'appname' ] : null ) , ( ( isset ( $ params [ 'component' ] ) && $ params [ 'component' ] == "yes" ) ? true : false ) ) ) ; return ( $ route ) ; }
Get route url
@param array $params Contains name param
@return string return route url
@throws \Exception
Get route url