|
| getDynamicIDs () |
| getCurrentDynamicId () |
| addDynamicData ( $id, $content, $stub="", $containerId=null, $useBrowserStorage=false, $autoUpdate=true, $useAnimation=false) |
| startDynamicWithID ($id) |
| finishDynamicWithID ( $id, $stub="", $containerId=null, $useBrowserStorage=false, $autoUpdate=true, $useAnimation=false) |
См. определение в файле engine.php строка 26
◆ addDynamicData()
addDynamicData |
( |
| $id, |
|
|
| $content, |
|
|
| $stub = "", |
|
|
| $containerId = null, |
|
|
| $useBrowserStorage = false, |
|
|
| $autoUpdate = true, |
|
|
| $useAnimation = false ) |
Adds dynamic data to be sent to the client.
- Аргументы
-
string | $id | Unique identifier of the block. |
string | $content | Dynamic part html. |
string | $stub | Html to use as stub. |
string | $containerId | Identifier of the html container. |
boolean | $useBrowserStorage | Use browser storage for caching or not. |
boolean | $autoUpdate | Automatically or manually update block contents. |
boolean | $useAnimation | Animation flag. |
- Возвращает
- void
См. определение в файле engine.php строка 1534
◆ checkAdminPanel()
Checks if admin panel will be shown or not. Disables itself if panel will be show.
См. определение в файле engine.php строка 1227
◆ deleteCompositeCookies()
deleteCompositeCookies |
( |
| ) |
|
|
static |
Removes all composite cookies
См. определение в файле engine.php строка 1462
◆ endBuffering()
endBuffering |
( |
& | $originalContent, |
|
|
| $compositeContent ) |
|
static |
Returns true if $originalContent was modified
- Аргументы
-
$originalContent | |
$compositeContent | |
- Возвращает
- bool
См. определение в файле engine.php строка 400
◆ finishDynamicWithID()
finishDynamicWithID |
( |
| $id, |
|
|
| $stub = "", |
|
|
| $containerId = null, |
|
|
| $useBrowserStorage = false, |
|
|
| $autoUpdate = true, |
|
|
| $useAnimation = false ) |
Marks end of the dynamic block if it's the current dynamic block and its start was being marked early.
- Аргументы
-
string | $id | Unique identifier of the block. |
string | $stub | Html to use as stub. |
string | $containerId | Identifier of the html container. |
boolean | $useBrowserStorage | Use browser storage for caching or not. |
boolean | $autoUpdate | Automatically or manually update block contents. |
boolean | $useAnimation | Animation flag. |
- Возвращает
- boolean
См. определение в файле engine.php строка 1579
◆ getAutoUpdate()
Gets autoUpdate property
- Возвращает
- bool
См. определение в файле engine.php строка 227
◆ getAutoUpdateTTL()
Gets auto update ttl
- Возвращает
- int
См. определение в файле engine.php строка 248
◆ getCurrentDynamicId()
Returns the identifier of current dynamic area.
- См. также
- \Bitrix\Main\Composite\StaticArea::getCurrentDynamicId
- Возвращает
- string|false
См. определение в файле engine.php строка 1514
◆ getDynamicIDs()
Gets ids of the dynamic blocks.
- Возвращает
- array
См. определение в файле engine.php строка 1502
◆ getInjectedCSS()
Returns css string to be injected.
@noinspection CssUnknownTarget
@noinspection CssUnusedSymbol
См. определение в файле engine.php строка 1062
◆ getInstance()
Singleton instance.
- Возвращает
- Engine
См. определение в файле engine.php строка 64
◆ getPreventAutoUpdate()
Gets preventAutoUpdate property.
- Возвращает
- boolean
См. определение в файле engine.php строка 1491
◆ getUseAppCache()
Gets useAppCache property.
- Возвращает
- boolean
См. определение в файле engine.php строка 157
◆ getUseHTMLCache()
Gets useHTMLCache property.
- Возвращает
- boolean
См. определение в файле engine.php строка 182
◆ install()
install |
( |
| $setDefaults = true | ) |
|
|
static |
◆ isAjaxRequest()
Returns true if current request was initiated by Ajax.
- Возвращает
- boolean
См. определение в файле engine.php строка 192
◆ isBannerEnabled()
Returns true if we should inject banner into a page.
- Возвращает
- bool
См. определение в файле engine.php строка 206
◆ isCurrentUserCC()
◆ isEnabled()
Gets isEnabled property.
- Возвращает
- boolean
См. определение в файле engine.php строка 130
◆ isInvalidationRequest()
isInvalidationRequest |
( |
| ) |
|
|
static |
◆ isOn()
Returns true if composite mode is turned on
- Возвращает
- bool
См. определение в файле engine.php строка 1300
◆ isSelfHostedPortal()
Return true if it's a self-hosted portal.
- Возвращает
- bool
См. определение в файле engine.php строка 1250
◆ onBeforeEndBufferContent()
onBeforeEndBufferContent |
( |
| ) |
|
|
static |
OnBeforeEndBufferContent handler. Prepares the stage for composite mode handler.
- Возвращает
- void
См. определение в файле engine.php строка 259
◆ onBeforeLocalRedirect()
onBeforeLocalRedirect |
( |
& | $url, |
|
|
| $skip_security_check, |
|
|
| $isExternal ) |
|
static |
◆ onBeforeRestartBuffer()
onBeforeRestartBuffer |
( |
| ) |
|
|
static |
OnBeforeRestartBuffer event handler. Disables composite mode when called.
- Возвращает
- void
См. определение в файле engine.php строка 750
◆ onChangeFile()
onChangeFile |
( |
| $path, |
|
|
| $site ) |
|
static |
OnChangeFile Event Handler
См. определение в файле engine.php строка 1378
◆ onEpilog()
◆ onUserLogin()
OnUserLogin Event Handler
См. определение в файле engine.php строка 1394
◆ onUserLogout()
OnUserLogout Event Handler
См. определение в файле engine.php строка 1414
◆ setAutoUpdate()
Sets autoUpdate property
- Аргументы
-
- Возвращает
- void
См. определение в файле engine.php строка 218
◆ setAutoUpdateTTL()
Sets auto update ttl
- Аргументы
-
int | $ttl | - number of seconds |
- Возвращает
- void
См. определение в файле engine.php строка 239
◆ setCC()
◆ setEnable()
setEnable |
( |
| $isEnabled = true | ) |
|
|
static |
Sets isEnable property value and attaches needed handlers.
- Аргументы
-
bool | $isEnabled | Mode control flag. |
- Возвращает
- void
См. определение в файле engine.php строка 81
◆ setNCC()
◆ setPreventAutoUpdate()
setPreventAutoUpdate |
( |
| $preventAutoUpdate = true | ) |
|
|
static |
Sets useHTMLCache property.
- Аргументы
-
boolean | $preventAutoUpdate | property. |
- Возвращает
- void
См. определение в файле engine.php строка 1480
◆ setUseAppCache()
setUseAppCache |
( |
| $useAppCache = true | ) |
|
|
static |
Sets useAppCache property.
- Аргументы
-
boolean | $useAppCache | AppCache mode control flag. |
- Возвращает
- void
См. определение в файле engine.php строка 142
◆ setUseHTMLCache()
setUseHTMLCache |
( |
| $useHTMLCache = true | ) |
|
|
static |
Sets useHTMLCache property.
- Аргументы
-
boolean | $useHTMLCache | Composite mode control flag. |
- Возвращает
- void
См. определение в файле engine.php строка 171
◆ shouldBeEnabled()
Checks whether HTML Cache should be enabled.
См. определение в файле engine.php строка 1142
◆ startBuffering()
startBuffering |
( |
| $content | ) |
|
|
static |
- Аргументы
-
- Возвращает
- null|string
См. определение в файле engine.php строка 331
◆ startDynamicWithID()
startDynamicWithID |
( |
| $id | ) |
|
Marks start of a dynamic block.
- Аргументы
-
integer | $id | Unique identifier of the block. |
- Возвращает
- boolean
См. определение в файле engine.php строка 1557
◆ uninstall()
◆ PAGE_DELETION_ATTEMPTS
const PAGE_DELETION_ATTEMPTS = 2 |
◆ PAGE_DELETION_LIMIT
const PAGE_DELETION_LIMIT = 100 |
Объявления и описания членов класса находятся в файле: