Bitrix API

Cache

Table of Contents

Constants

TAG_PREFIX  = 'landing_block_'
Tag prefix.

Methods

clear()  : void
Clears cache for the block.
disableCache()  : void
Disables caching.
enableCache()  : void
Enables caching.
isCaching()  : bool
Cache is enabled.
register()  : void
Registers the block in the cache.

Constants

TAG_PREFIX

Tag prefix.

public mixed TAG_PREFIX = 'landing_block_'

Methods

clear()

Clears cache for the block.

public static clear(int $id) : void
Parameters
$id : int

Block id.

disableCache()

Disables caching.

public static disableCache() : void

enableCache()

Enables caching.

public static enableCache() : void

isCaching()

Cache is enabled.

public static isCaching() : bool
Return values
bool

register()

Registers the block in the cache.

public static register(int $id) : void
Parameters
$id : int

Block id.


        
On this page

Search results