1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Cache
Граф наследования:Cache:
CachedPool Cache

Открытые члены

 __construct ($cacheEngine)
 clean ($uniqueString, $initDir=false, $baseDir='cache')
 cleanDir ($initDir=false, $baseDir='cache')
 initCache ($ttl, $uniqueString, $initDir=false, $baseDir='cache')
 output ()
 noOutput ()
 getVars ()
 startDataCache ($TTL=false, $uniqueString=false, $initDir=false, $vars=array(), $baseDir='cache')
 abortDataCache ()
 endDataCache ($vars=false)
 isCacheExpired ($path)
 isStarted ()
 forceRewriting ($mode)

Открытые статические члены

static createCacheEngine ($params=[])
static getCacheEngineType ()
static createInstance ($params=[])
static setShowCacheStat ($showCacheStat)
static getShowCacheStat ()
static setClearCache ($clearCache)
static setClearCacheSession ($clearCacheSession)
static getSalt ()
static shouldClearCache ()
static getPath ($uniqueString)
static clearCache ($full=false, $initDir='')

Защищенные данные

CacheEngineInterface $cacheEngine
 $content
 $vars
int $ttl = 0
string $uniqueString = ''
string $baseDir = 'cache'
string $initDir = ''
string $filename = ''
bool $isStarted = false
bool $forceRewriting = false
bool $hasOutput = true

Статические защищенные данные

static $showCacheStat = false
static $clearCache = null
static $clearCacheSession = null

Подробное описание

См. определение в файле cache.php строка 16

Конструктор(ы)

◆ __construct()

__construct ( $cacheEngine)

См. определение в файле cache.php строка 36

Методы

◆ abortDataCache()

abortDataCache ( )

См. определение в файле cache.php строка 390

◆ clean()

clean ( $uniqueString,
$initDir = false,
$baseDir = 'cache' )

См. определение в файле cache.php строка 249

◆ cleanDir()

cleanDir ( $initDir = false,
$baseDir = 'cache' )

См. определение в файле cache.php строка 263

◆ clearCache()

clearCache ( $full = false,
$initDir = '' )
static
Аргументы
$full
$initDir

См. определение в файле cache.php строка 461

◆ createCacheEngine()

createCacheEngine ( $params = [])
static

См. определение в файле cache.php строка 41

◆ createInstance()

createInstance ( $params = [])
static
Аргументы
array$params
Возвращает
static Cache

См. определение в файле cache.php строка 144

◆ endDataCache()

endDataCache ( $vars = false)

См. определение в файле cache.php строка 404

◆ forceRewriting()

forceRewriting ( $mode)

Sets the forced mode to ignore TTL and rewrite the cache.

Аргументы
bool$mode

См. определение в файле cache.php строка 480

◆ getCacheEngineType()

getCacheEngineType ( )
static

См. определение в файле cache.php строка 128

◆ getPath()

getPath ( $uniqueString)
static

См. определение в файле cache.php строка 243

◆ getSalt()

getSalt ( )
static

См. определение в файле cache.php строка 178

◆ getShowCacheStat()

getShowCacheStat ( )
static

См. определение в файле cache.php строка 155

◆ getVars()

getVars ( )

См. определение в файле cache.php строка 340

◆ initCache()

initCache ( $ttl,
$uniqueString,
$initDir = false,
$baseDir = 'cache' )

См. определение в файле cache.php строка 276

◆ isCacheExpired()

isCacheExpired ( $path)

См. определение в файле cache.php строка 446

◆ isStarted()

isStarted ( )

См. определение в файле cache.php строка 451

◆ noOutput()

noOutput ( )

См. определение в файле cache.php строка 335

◆ output()

output ( )

См. определение в файле cache.php строка 327

◆ setClearCache()

setClearCache ( $clearCache)
static

A privileged user wants to skip cache on this hit.

Аргументы
bool$clearCache

См. определение в файле cache.php строка 164

◆ setClearCacheSession()

setClearCacheSession ( $clearCacheSession)
static

A privileged user wants to skip cache on this session.

Аргументы
bool$clearCacheSession

См. определение в файле cache.php строка 173

◆ setShowCacheStat()

setShowCacheStat ( $showCacheStat)
static

См. определение в файле cache.php строка 150

◆ shouldClearCache()

shouldClearCache ( )
static

Returns true if a privileged user wants to skip reading from cache (on this hit or session).

Возвращает
bool

См. определение в файле cache.php строка 199

◆ startDataCache()

startDataCache ( $TTL = false,
$uniqueString = false,
$initDir = false,
$vars = array(),
$baseDir = 'cache' )

См. определение в файле cache.php строка 345

Поля

◆ $baseDir

string $baseDir = 'cache'
protected

См. определение в файле cache.php строка 24

◆ $cacheEngine

CacheEngineInterface $cacheEngine
protected

См. определение в файле cache.php строка 18

◆ $clearCache

$clearCache = null
staticprotected

См. определение в файле cache.php строка 30

◆ $clearCacheSession

$clearCacheSession = null
staticprotected

См. определение в файле cache.php строка 31

◆ $content

$content
protected

См. определение в файле cache.php строка 20

◆ $filename

string $filename = ''
protected

См. определение в файле cache.php строка 26

◆ $forceRewriting

bool $forceRewriting = false
protected

См. определение в файле cache.php строка 33

◆ $hasOutput

bool $hasOutput = true
protected

См. определение в файле cache.php строка 34

◆ $initDir

string $initDir = ''
protected

См. определение в файле cache.php строка 25

◆ $isStarted

bool $isStarted = false
protected

См. определение в файле cache.php строка 27

◆ $showCacheStat

$showCacheStat = false
staticprotected

См. определение в файле cache.php строка 29

◆ $ttl

int $ttl = 0
protected

См. определение в файле cache.php строка 22

◆ $uniqueString

string $uniqueString = ''
protected

См. определение в файле cache.php строка 23

◆ $vars

$vars
protected

См. определение в файле cache.php строка 21


Объявления и описания членов класса находятся в файле: