Регистрация Войти
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Поиск по сайту
Наш чат в Telegram для обмена идеями, проектами, мыслями, людьми в сфере ИТ г.Ростова-на-Дону: @it_rostov
Yaf_Route_Interface::route
(Yaf >=1.0.0)
Yaf_Route_Interface::route — route a request
Описание
abstract public bool Yaf_Route_Interface::route ( Yaf_Request_Abstract $request )Yaf_Route_Interface::route() is the only method that a custom route should implement.
if this method return TRUE, then the route process will be end. otherwise, Yaf_Router will call next route in the route stack to route request.
This method would set the route result to the parameter request, by calling Yaf_Request_Abstract::setControllerName(), Yaf_Request_Abstract::setActionName() and Yaf_Request_Abstract::setModuleName().
This method should also call Yaf_Request_Abstract::setRouted() to make the request routed at last.
ВниманиеК настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов.
Список параметров
request - A Yaf_Request_Abstract instance.
Возвращаемые значения
User Contributed Notes
There are no user contributed notes for this page.
Смотрите также:
Описание на ru2.php.net
Описание на php.ru