Регистрация Войти
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Поиск по сайту
Yaf_Request_Abstract::setBaseUri
(Yaf >=1.0.0)
Yaf_Request_Abstract::setBaseUri — set base URI
Описание
public bool Yaf_Request_Abstract::setBaseUri ( string $uir )Set base URI, base URI is used when doing routing, in routing phase request URI is used to route a request, while base URI is used to skip the leadding part(base URI) of request URI. That is, if comes a request with request URI a/b/c, then if you set base URI to "a/b", only "/c" will be used in routing phase.
Замечание:
generally, you don't need to set this, Yaf will determine it automatically.
Список параметров
uir - base URI
Возвращаемые значения
bool
User Contributed Notes
There are no user contributed notes for this page.
Смотрите также:
Описание на ru2.php.net
Описание на php.ru