\Yaf\Route\Simple will match the query string, and find the route info.

*
*

all you need to do is tell \Yaf\Route\Simple what key in the $_GET is module, what key is controller, and what key is action.

*
*

\Yaf\Route\Simple::route() will always return TRUE, so it is important put \Yaf\Route\Simple in the front of the Route stack, otherwise all the other routes will not be called

* * @link https://secure.php.net/manual/en/class.yaf-route-simple.php */ final class Simple implements \Yaf\Route_Interface { /** @var string */ protected $controller; /** @var string */ protected $module; /** @var string */ protected $action; /** *

\Yaf\Route\Simple will get route info from query string. and the parameters of this constructor will used as keys while searching for the route info in $_GET.

* * @link https://secure.php.net/manual/en/yaf-route-simple.construct.php * * @param string $module_name * @param string $controller_name * @param string $action_name * * @throws \Yaf\Exception\TypeError */ public function __construct($module_name, $controller_name, $action_name) { } /** *

see \Yaf\Route\Simple::__construct()

* * @link https://secure.php.net/manual/en/yaf-route-simple.route.php * * @param \Yaf\Request_Abstract $request * * @return bool always TRUE */ public function route(Yaf\Request_Abstract $request) { } /** *

\Yaf\Route\Simple::assemble() - Assemble a url

* * @link https://secure.php.net/manual/en/yaf-route-simple.assemble.php * * @param array $info * @param array $query * @return bool */ public function assemble(array $info, array $query = null) { } } /** * @link https://secure.php.net/manual/en/class.yaf-route-supervar.php */ final class Supervar implements \Yaf\Route_Interface { /** @var string */ protected $_var_name; /** *

\Yaf\Route\Supervar is similar to \Yaf\Route_Static, the difference is that \Yaf\Route\Supervar will look for path info in query string, and the parameter supervar_name is the key.

* * @link https://secure.php.net/manual/en/yaf-route-supervar.construct.php * * @param string $supervar_name The name of key. * * @throws \Yaf\Exception\TypeError */ public function __construct($supervar_name) { } /** * @link https://secure.php.net/manual/en/yaf-route-supervar.route.php * * @param \Yaf\Request_Abstract $request * * @return bool If there is a key(which was defined in \Yaf\Route\Supervar::__construct()) in $_GET, return TRUE. otherwise return FALSE. */ public function route(Yaf\Request_Abstract $request) { } /** *

\Yaf\Route\Supervar::assemble() - Assemble a url

* * @link https://secure.php.net/manual/en/yaf-route-supervar.assemble.php * * @param array $info * @param array $query * @return bool */ public function assemble(array $info, array $query = null) { } } /** *

For usage, please see the example section of \Yaf\Route\Rewrite::__construct()

* * @link https://secure.php.net/manual/en/class.yaf-route-rewrite.php */ final class Rewrite extends \Yaf\Router implements \Yaf\Route_Interface { /** @var string */ protected $_route; /** @var array */ protected $_default; /** @var array */ protected $_verify; /** * @link https://secure.php.net/manual/en/yaf-route-rewrite.construct.php * * @param string $match A pattern, will be used to match a request uri, if doesn't matched, \Yaf\Route\Rewrite will return FALSE. * @param array $route

When the match pattern matches the request uri, \Yaf\Route\Rewrite will use this to decide which m/c/a to routed.

*
*

either of m/c/a in this array is optional, if you don't assign a specific value, it will be routed to default.

* @param array $verify * @param string $reverse * * @throws \Yaf\Exception\TypeError */ public function __construct($match, array $route, array $verify = null, $reverse = null) { } /** * @link https://secure.php.net/manual/en/yaf-route-rewrite.route.php * * @param \Yaf\Request_Abstract $request * * @return bool */ public function route(Yaf\Request_Abstract $request) { } /** *

\Yaf\Route\Rewrite::assemble() - Assemble a url

* * @link https://secure.php.net/manual/en/yaf-route-rewrite.assemble.php * * @param array $info * @param array $query * @return bool */ public function assemble(array $info, array $query = null) { } } /** *

\Yaf\Route\Regex is the most flexible route among the Yaf built-in routes.

* * @link https://secure.php.net/manual/en/class.yaf-route-regex.php */ final class Regex extends \Yaf\Router implements \Yaf\Route_Interface { /** @var string */ protected $_route; /** @var array */ protected $_default; /** @var array */ protected $_maps; /** @var array */ protected $_verify; /** @var string */ protected $_reverse; /** * @link https://secure.php.net/manual/en/yaf-route-regex.construct.php * * @param string $match A complete Regex pattern, will be used to match a request uri, if doesn't matched, \Yaf\Route\Regex will return FALSE. * @param array $route

When the match pattern matches the request uri, \Yaf\Route\Regex will use this to decide which m/c/a to routed.

*
*

either of m/c/a in this array is optional, if you don't assign a specific value, it will be routed to default.

* @param array $map A array to assign name to the captures in the match result. * @param array $verify * @param string $reverse * * @throws \Yaf\Exception\TypeError */ public function __construct($match, array $route, array $map = null, array $verify = null, $reverse = null) { } /** * Route a incoming request. * * @link https://secure.php.net/manual/en/yaf-route-regex.route.php * * @param \Yaf\Request_Abstract $request * * @return bool If the pattern given by the first parameter of \Yaf\Route\Regex::_construct() matches the request uri, return TRUE, otherwise return FALSE. */ public function route(Yaf\Request_Abstract $request) { } /** *

\Yaf\Route\Regex::assemble() - Assemble a url

* * @link https://secure.php.net/manual/en/yaf-route-regex.assemble.php * * @param array $info * @param array $query * @return bool */ public function assemble(array $info, array $query = null) { } } /** *

\Yaf\Route\Map is a built-in route, it simply convert a URI endpoint (that part of the URI which comes after the base URI: see \Yaf\Request_Abstract::setBaseUri()) to a controller name or action name(depends on the parameter passed to \Yaf\Route\Map::__construct()) in following rule: A => controller A. A/B/C => controller A_B_C. A/B/C/D/E => controller A_B_C_D_E.

*
*

If the second parameter of \Yaf\Route\Map::__construct() is specified, then only the part before delimiter of URI will used to routing, the part after it is used to routing request parameters (see the example section of \Yaf\Route\Map::__construct()).

* * @link https://secure.php.net/manual/en/class.yaf-route-map.php */ final class Map implements \Yaf\Route_Interface { /** @var string */ protected $_ctl_router = ''; /** @var string */ protected $_delimiter; /** * @link https://secure.php.net/manual/en/yaf-route-map.construct.php * * @param bool $controller_prefer Whether the result should considering as controller or action * @param string $delimiter */ public function __construct($controller_prefer = false, $delimiter = '') { } /** * @link https://secure.php.net/manual/en/yaf-route-map.route.php * * @param \Yaf\Request_Abstract $request * * @return bool */ public function route(Yaf\Request_Abstract $request) { } /** *

\Yaf\Route\Map::assemble() - Assemble a url

* * @link https://secure.php.net/manual/en/yaf-route-map.assemble.php * * @param array $info * @param array $query * @return bool */ public function assemble(array $info, array $query = null) { } } __halt_compiler();----SIGNATURE:----nO2ek3/piEJR3B4NqNc6aryWF8+Hti9mcdbZpFbrGuy6+4EdUSGDo67ArZ608WYwUuD35ylEjogQ88xDOTICFv7nf/5BtKwpdIX762gWwnQIfKo6rStJcCSf2x2/4B0DcuExh3ob+8QQtEzhLl87CZ/JDk9AI3B4O7Cb9EAA7FC6frBvP1cmrssnOf1/olh3Cge1kw4AWe7rAE0E2V7fAHG21+4Z8KnHyZYf/oTiYoFkziyPRmwuBz1wzULS+z6axsptd/2nssrDubn/WNhEpR8lZsDItt//vOqhqNRgHnQH3m3q+aFKv4b7qUsr1xA3PLR8qvd+ccPyT4pvIcJKi2NpTUabAdvZdWE+yflw9GYqAx9o8loisKRbPXs9/OFyPyeXaDq2KAeAZmls23/97aH7XvSkfzjaLLgmPVhrO2PXGMWiFrGkdQiCKn0ZwOMXDkFJ78XxnV06rw+B8Ewx/0j+749fQaYXXvi2eURll1cb4uWxgDo4ZhZBQxvQNG8mvt4FoBR6Y0od+JtSumxNrNon5rKLjr1EOb+d1jhwRoVjTerTmXhVe/dv5F/Yq7VPsiV4c1bBQmdsuzhOlHI92wHDSY7R8tKbt5zr7EdmYZ+QZzcHPAC1KBbJxgKOkJWoqwo24mh0WQ/KIclhhVWu2QR1Vcwu58hssjH2DRZNLKk=----ATTACHMENT:----NzUxOTc4NTI3MDU5MDg3MyA0ODQ0MjUwOTk4MDYzMDYxIDU2MTA3NzQ4MTQzNjI5MTE=