Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 16744 программиста и 1644 робота. Сейчас ищут 1223 программиста ...
The Yaf_Route_Static class
Вернуться к: Yaf
(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
{
/* Методы */
}Содержание
- Yaf_Route_Static::assemble — Assemble a url
- Yaf_Route_Static::match — The match purpose
- Yaf_Route_Static::route — Route a request
Вернуться к: Yaf