1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Redirect
Граф наследования:Redirect:
HttpResponse Response

Открытые члены

 __construct ($url, bool $skipSecurity=false)
 getUrl ()
 setUrl ($url)
 isSkippedSecurity ()
 setSkipSecurity (bool $skipSecurity)
 send ()
Открытые члены унаследованные от HttpResponse
 __construct ()
 flush ($text='')
 addHeader ($name, $value='')
 setHeaders (Web\HttpHeaders $headers)
 addCookie (Web\Cookie $cookie, $replace=true, $checkExpires=true)
 allowPersistentCookies ($mode)
 getCookies ()
 getHeaders ()
 setStatus ($status)
 getStatus ()
 setLastModified (Type\DateTime $time)
 redirectTo ($url)
 copyHeadersTo (HttpResponse $response)
Открытые члены унаследованные от Response
 clear ()
 setContent ($content)
 appendContent ($content)
 getContent ()

Дополнительные унаследованные члены

Поля данных унаследованные от HttpResponse
const STORE_COOKIE_NAME = 'STORE_COOKIES'
Защищенные члены унаследованные от HttpResponse
 flushStatus ()
 flushHeader ($header)
 setCookie (Web\Cookie $cookie)
 getServerProtocol ()
Защищенные члены унаследованные от Response
 checkContent ($content)
 writeBody ($text)
Защищенные данные унаследованные от HttpResponse
 $cookies = []
 $headers
 $lastModified
Защищенные данные унаследованные от Response
 $content

Подробное описание

См. определение в файле redirect.php строка 9

Конструктор(ы)

◆ __construct()

__construct ( $url,
bool $skipSecurity = false )

См. определение в файле redirect.php строка 16

Методы

◆ getUrl()

getUrl ( )
Возвращает
string

См. определение в файле redirect.php строка 30

◆ isSkippedSecurity()

isSkippedSecurity ( )
Возвращает
bool

См. определение в файле redirect.php строка 49

◆ send()

send ( )

Sends content to the output.

Возвращает
void

Переопределяет метод предка Response.

См. определение в файле redirect.php строка 125

◆ setSkipSecurity()

setSkipSecurity ( bool $skipSecurity)
Аргументы
bool$skipSecurity
Возвращает
$this

См. определение в файле redirect.php строка 58

◆ setUrl()

setUrl ( $url)
Аргументы
string$url
Возвращает
$this

См. определение в файле redirect.php строка 39


Объявления и описания членов класса находятся в файле: