Object 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.
Class | Description | Available from version |
---|---|---|
changeLanding | Changes parent landing page. | |
exist | Checks block for existence. | |
export | Exports block contents (nodes, styles, attributes). | |
getCode | Returns block symbolic code. | |
getContent | Returns block contents | |
getCSS | Gets array of block CSS files. | |
getExt | Gets array of block JS extensions. | |
getId | Returns block ID. | |
getJS | Gets array of block JS files. | |
getLandingId | Returns block page ID. | |
getLocalAnchor | Returns block anchor. | |
getManifest | Returns block manifest. | |
getMeta | Gets block meta data. | |
getPreview | Returns block preview image | |
getRepoId | Returns entry ID in repository, when registering the block (do not confuse with adding) via REST. | |
getSite | Returns array of site for block page. | |
getSiteId | Returns site ID of block page. | |
getSort | Gets values of current block sorting. | |
isActive | Returns block activity status flag (true / false). | |
isPublic | Returns block publication flag (true/false). | |
markDeleted | Sets flag for block deleting. | |
saveSort | Saves new block sorting | |
setAnchor | Sets block anchor. | |
setSort | Sets block sorting. | |
view | Displays block in browser |
© «Bitrix24», 2001-2024