Метод ensureCommonRevisionStrict
Сигнатура метода
private function ensureCommonRevisionStrict(int $templateId, bool $deferCacheInvalidation): string
Возвращает:
string
Описание
Stores the revision and drops the stored area of the pilot visibility rule when this write could have changed it: a template leaves that area when a common version appears and enters it back when the scheme is emptied under a pilot mark that stays. A scheme is written on every portal, so the area is touched only while the answer can change - an ordinary write over a portal with nothing hidden costs nothing at all. An empty revision is the one case that can put a template into the area, so it counts even when the area is empty.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
$deferCacheInvalidation
|
bool
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulesbizproc/lib/Internal/Service/Pilot/CommonRevisionWriter.php