Please wait while we load your page...
 

Announcements

PHP Manual :: The Yaf_Route_Static class



Yaf_Route_Simple::route || Yaf_Route_Static::assemble || Yaf || PHP Manual

(Yaf >=1.0.0)

Defaultly, Yaf_Router only have a Yaf_Route_Static as its default route.

And Yaf_Route_Static is designed to handle the 80% requirement.

please *NOTE* that it is unecessary to instance a Yaf_Route_Static, also unecesary to add it into Yaf_Router's routes stack, since there is always be one in Yaf_Router's routes stack, and always be called at the last time.

Yaf_Route_Static implements Yaf_Router {
/* Methods */
public string assemble ( array $info [, array $query ] )
public void match ( string $uri )
public bool route ( Yaf_Request_Abstract $request )
}


Yaf_Route_Simple::route || Yaf_Route_Static::assemble || Yaf || PHP Manual
Live Chat Not Available