Bitrix API

Cache

Table of Contents

Properties

$cacheDir  : mixed
$cacheTtl  : mixed

Methods

get()  : mixed
set()  : bool

Properties

$cacheDir

public static mixed $cacheDir = '/bx/imol/widget/cache/'

$cacheTtl

public static mixed $cacheTtl = 8 * 60 * 60

Methods

get()

public static get(int $userId[, string|null $option = null ]) : mixed
Parameters
$userId : int
$option : string|null = null

set()

public static set(int $userId, array<string|int, mixed> $params) : bool
Parameters
$userId : int
$params : array<string|int, mixed>
Return values
bool

        
On this page

Search results