Documentation

Static methods

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.

Static methods include ORM methods, their wrappers and also methods for updating and getting general statuses.

Class Description Available from version
add Adds a landing page.
addByTemplate Adds landing page by template.
getList Gets list of landing pages.
update Updates a landing page.
delete Deletes a landing page
setEditMode Set "edit" mode for handling page objects.
getEditMode Returns true, when current mode is "edit" mode
setPreviewMode Specific system methods, used for enabling site preview mode.
getPreviewMode Returns true in case of current mode is "preview".
markDelete Move landing page into recycle bin.
markUnDelete Restore landing page from recycle bin.
© «Bitrix24», 2001-2024
Up