Bitrix-D7 22.6
 
Загрузка...
Поиск...
Не найдено
Класс 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="")
 

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

 $cacheEngine
 
 $content
 
 $vars
 
 $TTL
 
 $uniqueString
 
 $baseDir
 
 $initDir
 
 $filename
 
 $isStarted = false
 
 $forceRewriting = false
 
 $hasOutput = true
 

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

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

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

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

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

◆ __construct()

__construct (   $cacheEngine)

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

Методы

◆ abortDataCache()

abortDataCache ( )

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

◆ clean()

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

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

◆ cleanDir()

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

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

◆ clearCache()

static clearCache (   $full = false,
  $initDir = "" 
)
static

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

◆ createCacheEngine()

static createCacheEngine (   $params = [])
static

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

◆ createInstance()

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

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

◆ endDataCache()

endDataCache (   $vars = false)

@noinspection PhpUndefinedFieldInspection

@noinspection PhpUndefinedFieldInspection

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

◆ forceRewriting()

forceRewriting (   $mode)

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

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

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

◆ getCacheEngineType()

static getCacheEngineType ( )
static

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

◆ getPath()

static getPath (   $uniqueString)
static

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

◆ getSalt()

static getSalt ( )
static

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

◆ getShowCacheStat()

static getShowCacheStat ( )
static

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

◆ getVars()

getVars ( )

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

◆ initCache()

initCache (   $TTL,
  $uniqueString,
  $initDir = false,
  $baseDir = "cache" 
)

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

◆ isCacheExpired()

isCacheExpired (   $path)

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

◆ isStarted()

isStarted ( )

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

◆ noOutput()

noOutput ( )

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

◆ output()

output ( )

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

◆ setClearCache()

static setClearCache (   $clearCache)
static

A privileged user wants to skip cache on this hit.

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

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

◆ setClearCacheSession()

static setClearCacheSession (   $clearCacheSession)
static

A privileged user wants to skip cache on this session.

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

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

◆ setShowCacheStat()

static setShowCacheStat (   $showCacheStat)
static

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

◆ shouldClearCache()

static shouldClearCache ( )
static

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

Возвращает
bool

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

◆ startDataCache()

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

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

Данные класса

◆ $baseDir

$baseDir
protected

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

◆ $cacheEngine

$cacheEngine
protected

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

◆ $clearCache

$clearCache = null
staticprotected

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

◆ $clearCacheSession

$clearCacheSession = null
staticprotected

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

◆ $content

$content
protected

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

◆ $filename

$filename
protected

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

◆ $forceRewriting

$forceRewriting = false
protected

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

◆ $hasOutput

$hasOutput = true
protected

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

◆ $initDir

$initDir
protected

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

◆ $isStarted

$isStarted = false
protected

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

◆ $showCacheStat

$showCacheStat = false
staticprotected

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

◆ $TTL

$TTL
protected

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

◆ $uniqueString

$uniqueString
protected

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

◆ $vars

$vars
protected

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