См. определение в файле page.php строка 13
◆ __construct()
| __construct |
( |
| $requestUri = null, |
|
|
| $host = null, |
|
|
| $privateKey = null ) |
Creates new cache manager instance.
- Аргументы
-
| {string | } $requestUri |
| {string} | $host |
| {string} | $privateKey |
См. определение в файле page.php строка 45
◆ convertUriToPath()
| convertUriToPath |
( |
| $uri, |
|
|
| $host = null, |
|
|
| $privateKey = null ) |
|
static |
Converts request uri into path safe file with .html extension. Returns empty string if fails.
- Аргументы
-
| string | $uri | Uri. |
| string | $host | Host name. |
| string | $privateKey | |
- Возвращает
- string
См. определение в файле page.php строка 146
◆ createFromCacheKey()
| createFromCacheKey |
( |
| $cacheKey | ) |
|
|
static |
◆ delete()
Deletes the cache
- Возвращает
- bool|int
См. определение в файле page.php строка 207
◆ deleteAll()
Deletes all cache data
- Возвращает
- bool
См. определение в файле page.php строка 229
◆ disableVoting()
◆ enableVoting()
◆ exists()
Returns true if the cache exists
- Возвращает
- boolean
См. определение в файле page.php строка 267
◆ getCacheKey()
Returns cache key
- Возвращает
- string
См. определение в файле page.php строка 155
◆ getInstance()
Returns current instance of the Storage.
- Возвращает
- Page
См. определение в файле page.php строка 76
◆ getLastModified()
Returns the time the cache was last modified
- Возвращает
- int|false
См. определение в файле page.php строка 252
◆ getMd5()
Returns hash of the cache
- Возвращает
- string|false
См. определение в файле page.php строка 281
◆ getPrivateKey()
◆ getSize()
Returns cache size
- Возвращает
- int|false
См. определение в файле page.php строка 295
◆ getStaticHtmlStorage()
| getStaticHtmlStorage |
( |
| $cacheKey | ) |
|
|
static |
Returns the instance of the StaticHtmlStorage
- Аргументы
-
| string | $cacheKey | unique cache identifier |
- Возвращает
- Data\AbstractStorage|null
См. определение в файле page.php строка 386
◆ getStorage()
Returns File Storage or Memcached Storage
- Возвращает
- Data\AbstractStorage|null
См. определение в файле page.php строка 103
◆ giveNegativeComponentVote()
| giveNegativeComponentVote |
( |
| $context = "" | ) |
|
Tries to vote against composite mode
- Аргументы
-
См. определение в файле page.php строка 429
◆ init()
◆ isCacheable()
Returns true if we can cache current request
- Возвращает
- bool
См. определение в файле page.php строка 310
◆ isVotingEnabled()
◆ markNonCacheable()
Marks current page as non cacheable.
- Возвращает
- void
См. определение в файле page.php строка 349
◆ onBeforeEndBufferContent()
| onBeforeEndBufferContent |
( |
| ) |
|
◆ read()
Returns html content from the cache
- Возвращает
- string
См. определение в файле page.php строка 192
◆ setCacheProvider()
◆ setUserPrivateKey()
◆ write()
Writes the content to the storage
- Аргументы
-
| string | $content | the string that is to be written |
| string | $md5 | the content hash |
- Возвращает
- bool
См. определение в файле page.php строка 166
◆ $instance
Объявления и описания членов класса находятся в файле:
- C:/bitrix/modules/main/lib/composite/page.php