×
The Yaf_Route_Rewrite class ¶. (Yaf >=1.0.0). Introduction ¶. For usage, please see the example section of Yaf_Route_Rewrite::__construct(). Class synopsis ¶.
Change language: ... Yaf_Route_Rewrite::route. (Yaf >=1.0.0). Yaf_Route_Rewrite::route — The route purpose ... My PHP.net · Contact · Other PHP.net sites · Privacy ...
Missing: url class.
<?php /** * Add a rewrite route to Yaf_Router route stack by calling addconfig */ $config = array( "name" => array( "type" => "rewrite", //Yaf_Route_Rewrite ...
Missing: class. | Show results with:class.
Returns string. Examples ¶. Example #1 Yaf_Route_Rewrite::assemble()example. router = new Yaf_Router(); $route = new Yaf_Route_Rewrite(
Missing: class. | Show results with:class.
It is very loosely based on Ruby on Rails routing and does not require any prior knowledge of webserver URL rewriting. It is designed to work with a single ...
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()) ...
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 ...
The Yaf_Route_Supervar class ¶. (Yaf >=1.0.0). Introduction ¶. Class synopsis ¶. class Yaf_Route_Supervar implements Yaf_Route_Interface {. /* Properties */.
Class synopsis. class ... Table of Contents. Yaf_Route_Rewrite::assemble — Assemble a url ... 0 or later. https://www.php.net/manual/en/class.yaf-route-rewrite.php.
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.