×
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()) ...
Yaf_Route_Map::route. (Yaf >=1.0.0). Yaf_Route_Map::route — The route purpose. Description ¶. public Yaf_Route_Map::route(Yaf_Request_Abstract $request ): ...
Missing: url class.
Introduction ¶. 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 ...
Assemble a url. Parameters ¶. info: query. Return Values ¶. Returns ... $router->addRoute("map", $route); var_dump ... Other PHP.net sites · Privacy policy. To Top.
Missing: class. | Show results with:class.
Introduction ¶. Defaultly, Yaf_Router only have a Yaf_Route_Static as its default route. And Yaf_Route_Static is designed to handle the 80% requirement.
The Yaf_Route_Supervar class ¶. (Yaf >=1.0.0). Introduction ¶. Class synopsis ¶. class Yaf_Route_Supervar implements Yaf_Route_Interface {. /* Properties */.
Introduction ¶. Yaf_Router is the standard framework router. Routing is the process of taking a URI endpoint (that part of the URI which comes after the ...
Yaf_Route_Regex is the most flexible route among the Yaf built-in routes. Class synopsis ¶ ... — Assemble a url ... Other PHP.net sites · Privacy policy. To Top.
The Yaf_Route_Rewrite class ¶. (Yaf >=1.0.0). Introduction ¶. For usage, please see the example section of Yaf_Route_Rewrite::__construct(). Class synopsis ¶.
People also ask
In Yaf, the default controller is named IndexController: <?php class IndexController extends Yaf_Controller_Abstract { // default action name public ...