Documentation

deleteArea

Attention! We strongly recommend first to learn more about Sites module REST documentation to understand how the module functions (with REST available in Bitrix24 Self-hosted editions). View this documentation as useful source when working with Bitrix24 Self-hosted editions and find out more details about API and only REST is not enough.

public function TemplateRef::deleteArea(
   $id
)

Deletes any binding/association of page specified as included area. No area will link to this page on success. The page is not updated in any way.

Parameters

Class Description Available from version
$id Page ID.

Example

if (\Bitrix\Main\Loader::includeModule('landing'))
{
   \Bitrix\Landing\TemplateRef::deleteArea(12);
}


© «Bitrix24», 2001-2024