Cache
Table of Contents
Constants
- TAG_PREFIX = 'landing_page_'
- Tag prefix.
Methods
- clear() : void
- Clears cache for the page.
- isCaching() : bool
- Cache is enabled.
- register() : void
- Registers the page in the cache.
Constants
TAG_PREFIX
Tag prefix.
public
mixed
TAG_PREFIX
= 'landing_page_'
Methods
clear()
Clears cache for the page.
public
static clear(int $id) : void
Parameters
- $id : int
-
Landing id.
isCaching()
Cache is enabled.
public
static isCaching() : bool
Return values
boolregister()
Registers the page in the cache.
public
static register(int $id) : void
Parameters
- $id : int
-
Landing id.