Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Redirect
+ Граф наследования:Redirect:

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

 __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 ( )
Возвращает
Main\Web\Uri|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)
Аргументы
Main\Web\Uri | string$url
Возвращает
$this

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