public function generate()
    {
        try {
            $args = $this->_splitArgs($this->args);
            $url = Router::url($args);
            $this->out("> $url");
            $this->out();
        } catch (MissingRouteException $e) {
            $this->err('<warning>The provided parameters do not match any routes.</warning>');
            $this->out();

            return false;
        }

        return true;
    }
public function generate()
    {
        try {
            $args = $this->_splitArgs($this->args);
            $url = Router::url($args);
            $this->out("> $url");
            $this->out();
        } catch (MissingRouteException $e) {
            $this->err('<warning>The provided parameters do not match any routes.</warning>');
            $this->out();

            return false;
        }

        return true;
    }
public function generate ( ) { try { $ args = $ this -> _splitArgs ( $ this -> args ) ; $ url = Router :: url ( $ args ) ; $ this -> out ( "> $url" ) ; $ this -> out ( ) ; } catch ( MissingRouteException $ e ) { $ this -> err ( '<warning>The provided parameters do not match any routes.</warning>' ) ; $ this -> out ( ) ; return false ; } return true ; }
Generate a URL based on a set of parameters

Takes variadic arguments of key/value pairs.
@return bool Success
Generate a URL based on a set of parameters