Bitrix API

CacheManager implements CacheManager

Table of Contents

Interfaces

CacheManager

Methods

__construct()  : mixed
clean()  : $this
cleanDir()  : $this
getData()  : mixed
setData()  : static
setTtl()  : $this

Methods

clean()

public clean(string $key[, string $cacheSubDir = '' ]) : $this
Parameters
$key : string
$cacheSubDir : string = ''
Return values
$this

cleanDir()

public cleanDir(string $cacheSubDir) : $this
Parameters
$cacheSubDir : string
Return values
$this

getData()

public getData(string $key[, string $cacheSubDir = '' ]) : mixed
Parameters
$key : string
$cacheSubDir : string = ''

setData()

public setData(string $key, mixed $data[, string $cacheSubDir = '' ]) : static
Parameters
$key : string
$data : mixed
$cacheSubDir : string = ''
Tags
throws
ArgumentException
Return values
static

setTtl()

public setTtl(int $ttl) : $this
Parameters
$ttl : int
Return values
$this

        
On this page

Search results