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

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

 __construct ($cacheKey, array $configuration, array $htmlCacheOptions)
 getContents ()
 isGzipped ()
 getLastModified ()
 getEtag ()
 getContentType ()
 exists ()
 shouldCountQuota ()

Защищенные данные

 $cacheKey = null
 $configuration = array()
 $htmlCacheOptions = array()

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

Represents interface for the html cache response Class AbstractResponse

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

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

◆ __construct()

__construct ( $cacheKey,
array $configuration,
array $htmlCacheOptions )
Аргументы
string$cacheKeyunique cache identifier
array$configurationstorage configuration
array$htmlCacheOptionshtml cache options

Переопределяется в FileResponse и MemcachedResponse.

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

Методы

◆ exists()

exists ( )
abstract

Checks whether the cache exists

Возвращает
bool

Переопределяется в FileResponse и MemcachedResponse.

◆ getContents()

getContents ( )
abstract

Returns the cache contents

Возвращает
string|false

Переопределяется в FileResponse и MemcachedResponse.

◆ getContentType()

getContentType ( )
abstract

Returns the content type of the cache

Возвращает
string|false

Переопределяется в FileResponse и MemcachedResponse.

◆ getEtag()

getEtag ( )
abstract

Returns the Entity Tag of the cache

Возвращает
string|int

Переопределяется в FileResponse и MemcachedResponse.

◆ getLastModified()

getLastModified ( )
abstract

Returns the time the cache was last modified

Возвращает
int|false

Переопределяется в FileResponse и MemcachedResponse.

◆ isGzipped()

isGzipped ( )
abstract

Returns true if content is gzipped

Возвращает
bool

Переопределяется в FileResponse и MemcachedResponse.

◆ shouldCountQuota()

shouldCountQuota ( )
abstract

Should we count a quota limit

Возвращает
bool

Переопределяется в FileResponse и MemcachedResponse.

Поля

◆ $cacheKey

$cacheKey = null
protected

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

◆ $configuration

$configuration = array()
protected

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

◆ $htmlCacheOptions

$htmlCacheOptions = array()
protected

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


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