Bitrix API

FileResponse extends AbstractResponse

FinalYes

Represents interface for the html cache response Class AbstractResponse

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(mixed $cacheKey, array<string|int, mixed> $configuration, array<string|int, mixed> $htmlCacheOptions) : mixed
Parameters
$cacheKey : mixed

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 exists() : bool
Return values
bool

getContents()

Returns the cache contents

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

getContentType()

Returns the content type of the cache

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

getEtag()

Returns the Entity Tag of the cache

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

getLastModified()

Returns the time the cache was last modified

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

isGzipped()

Returns true if content is gzipped

public isGzipped() : bool
Return values
bool

shouldCountQuota()

Should we count a quota limit

public shouldCountQuota() : bool
Return values
bool

        
On this page

Search results