Documentation

setEnable

void public static
\Bitrix\Main\Page\Frame::setEnable(
 boolean $isEnabled = true
);

Static method sets property values for isEnabled and adds necessary handlers. This method enables and disables composite mode for a page depending on a flag specified in argument.

Parameters

ParameterDescriptionVersion
$isEnabledMode management flag.

Example



© «Bitrix24», 2001-2024