См. определение в файле appcache.php строка 7
◆ addAdditionalParam()
| addAdditionalParam |
( |
| $name, |
|
|
| $value ) |
◆ addFallbackPage()
| addFallbackPage |
( |
| $onlinePage, |
|
|
| $offlinePage ) |
◆ addFile()
◆ checkObsoleteManifest()
| checkObsoleteManifest |
( |
| ) |
|
|
static |
◆ generate()
◆ getAdditionalParams()
◆ getCachePath()
| getCachePath |
( |
| $manifestId | ) |
|
|
static |
◆ getCurrentManifestID()
◆ getDebug()
◆ getExcludeImagePatterns()
| getExcludeImagePatterns |
( |
| ) |
|
Sets the array of path patterns to exclude unused images from the manifest file
- Возвращает
- array
См. определение в файле appcache.php строка 53
◆ getFallbackPages()
◆ getFilesFromContent()
| getFilesFromContent |
( |
| $content | ) |
|
Parses the passed content to find css, js and images. Returns the array of files.
- Аргументы
-
- Возвращает
- array
См. определение в файле appcache.php строка 279
◆ getInstance()
◆ getIsModified()
◆ getIsSided()
◆ getManifestCheckFile()
Gets file path for getting of manifest content
- Возвращает
- string
См. определение в файле appcache.php строка 224
◆ getManifestContent()
Returns content of the manifest
- Возвращает
- string
См. определение в файле appcache.php строка 254
◆ getNetworkFiles()
◆ getPageURI()
◆ getReceivedCacheParams()
| getReceivedCacheParams |
( |
| ) |
|
Gets received cache parameters
- Возвращает
- array
См. определение в файле appcache.php строка 429
◆ getReceivedManifest()
◆ isEnabled()
◆ onBeforeEndBufferContent()
| onBeforeEndBufferContent |
( |
| ) |
|
|
static |
OnBeforeEndBufferContent handler
- Возвращает
- array|mixed
См. определение в файле appcache.php строка 172
◆ onEndBufferContent()
| onEndBufferContent |
( |
& | $content | ) |
|
|
static |
◆ readManifestCache()
| readManifestCache |
( |
| $manifestId | ) |
|
|
static |
◆ setEnabled()
| setEnabled |
( |
| $isEnabled = true | ) |
|
|
static |
Creates or updates the manifest file for the page with usage its content.
- Аргументы
-
См. определение в файле appcache.php строка 90
◆ setExcludeImagePatterns()
| setExcludeImagePatterns |
( |
| $excludeImagePatterns | ) |
|
Returns the array of path patters
- Аргументы
-
| array | $excludeImagePatterns | |
См. определение в файле appcache.php строка 62
◆ setFiles()
◆ setIsSided()
◆ setManifestCheckFile()
| setManifestCheckFile |
( |
| $customManifestCheckFile | ) |
|
Sets custom file for getting of manifest content self::MANIFEST_CHECK_FILE uses by default
- Аргументы
-
| string | $customManifestCheckFile | |
См. определение в файле appcache.php строка 237
◆ setNetworkFiles()
| setNetworkFiles |
( |
| $network | ) |
|
◆ setPageURI()
| setPageURI |
( |
| $pageURI = "" | ) |
|
◆ setReceivedCacheParams()
| setReceivedCacheParams |
( |
| $receivedCacheParams | ) |
|
Sets received cache params
- Аргументы
-
См. определение в файле appcache.php строка 420
◆ setReceivedManifest()
| setReceivedManifest |
( |
| $receivedManifest | ) |
|
Sets received path to manifest
- Аргументы
-
См. определение в файле appcache.php строка 439
◆ DEBUG_HOLDER
| const DEBUG_HOLDER = "//__APP_CACHE_DEBUG_HOLDER__" |
◆ MANIFEST_CHECK_FILE
| const MANIFEST_CHECK_FILE = "/bitrix/tools/check_appcache.php" |
Объявления и описания членов класса находятся в файле: