The Yaf_Route_Static class
(Yaf >=1.0.0)
简介
默认的,Yaf_Router 只有一个Yaf_Route_Static 作为它默认的路由
Yaf_Route_Static 旨在处理80%的要求。
请注意:实例化 Yaf_Route_Static 是没有必要的,也没必要将它加入Yaf_Router的路由堆栈,因为在Yaf_Router的路由堆栈中总是存在它的一个实例,并且总是在最后被调用。
类摘要
class Yaf_Route_Static
implements
Yaf_Router {
/* 方法 */
}目录
- Yaf_Route_Static::assemble — 组合url
- Yaf_Route_Static::match — The match purpose
- Yaf_Route_Static::route — Route a request

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/class.yaf-route-static.php