Yaf_Route_Regex::assemble

(Yaf >=2.3.0) Assemble a url public string Yaf_Route_Regex::assemble ( array $info [, array $query ] ) Assemble a url. Parameters: info Assemble a url. query Assemble a url. Returns: Examples: Yaf_Route_Regex::assemble() example <?

Yaf_Route_Map::route

(Yaf >=1.0.0) The route purpose public bool Yaf_Route_Map::route ( Yaf_Request_Abstract $request ) Parameters: request Returns: This function is currently not documented; only its argument list is available.

Yaf_Route_Map::__construct

(Yaf >=1.0.0) The __construct purpose public Yaf_Route_Map::__construct ([ string $controller_prefer = false [, string $delimiter = "" ]] ) Parameters: controller_prefer Whether the result should considering as controller or action delimiter Whether the result should considering as controller or action Returns:

Yaf_Route_Map::assemble

(Yaf >=2.3.0) Assemble a url public string Yaf_Route_Map::assemble ( array $info [, array $query ] ) Assemble a url. Parameters: info Assemble a url. query Assemble a url. Returns: Examples: Yaf_Route_Map::assemble() example <?php

Yaf_Route_Interface::route

(Yaf >=1.0.0) route a request abstract public bool Yaf_Route_Interface::route ( Yaf_Request_Abstract $request ) Yaf_Route_Interface::route() is the only method that a custom route should implement. Note: since of 2.3.0, there is another method should also be implemented, see Yaf_Route_Interface::assemble(). if this method return TRUE, then the route process will be end. otherwise, Yaf_Router will call next route in

Yaf_Route_Interface::assemble

(Yaf >=2.3.0) assemble a request abstract public string Yaf_Route_Interface::assemble ( array $info [, array $query ] ) this method returns a url according to the argument info, and append query strings to the url according to the argument query. a route should implement this method according to its own route rules, and do a reverse progress. Parameters: info this me

Yaf_Response_Abstract::__toString

(Yaf >=1.0.0) The __toString purpose private void Yaf_Response_Abstract::__toString ( void ) Returns: This function is currently not documented; only its argument list is available.

Yaf_Response_Abstract::setRedirect

(Yaf >=1.0.0) The setRedirect purpose public void Yaf_Response_Abstract::setRedirect ( void ) Returns: This function is currently not documented; only its argument list is available.

Yaf_Response_Abstract::setHeader

(Yaf >=1.0.0) The setHeader purpose public void Yaf_Response_Abstract::setHeader ( void ) Returns: This function is currently not documented; only its argument list is available.

Yaf_Response_Abstract::setBody

(Yaf >=1.0.0) Set content to response public bool Yaf_Response_Abstract::setBody ( string $content [, string $key ] ) Set content to response Parameters: body content string key the content key, you can set a content with a key, if you don't specific, then Yaf_Response_Abstract::DEFAULT_BODY will be used Note: this parameter is i