Bitrix API

StaticHtmlCacheResponse extends AbstractResponse

Represents interface for the html cache response Class AbstractResponse

Tags
noinspection

PhpHierarchyChecksInspection

Table of Contents

Methods

__construct()  : mixed
exists()  : bool
Checks whether the cache exists
getContents()  : string|false
Returns the cache contents
getContentType()  : string|false
Returns the content type of the cache
getEtag()  : string|int
Returns the Entity Tag of the cache
getLastModified()  : int|false
Returns the time the cache was last modified
isGzipped()  : bool
Returns true if content is gzipped
shouldCountQuota()  : bool
Should we count a quota limit

Methods

__construct()

public __construct(string $cacheKey, array<string|int, mixed> $configuration, array<string|int, mixed> $htmlCacheOptions) : mixed
Parameters
$cacheKey : string

unique cache identifier

$configuration : array<string|int, mixed>

storage configuration

$htmlCacheOptions : array<string|int, mixed>

html cache options

exists()

Checks whether the cache exists

public abstract exists() : bool
Return values
bool

getContents()

Returns the cache contents

public abstract getContents() : string|false
Return values
string|false

getContentType()

Returns the content type of the cache

public abstract getContentType() : string|false
Return values
string|false

getEtag()

Returns the Entity Tag of the cache

public abstract getEtag() : string|int
Return values
string|int

getLastModified()

Returns the time the cache was last modified

public abstract getLastModified() : int|false
Return values
int|false

isGzipped()

Returns true if content is gzipped

public abstract isGzipped() : bool
Return values
bool

shouldCountQuota()

Should we count a quota limit

public abstract shouldCountQuota() : bool
Return values
bool

        
On this page

Search results