Bitrix API

Manager

Manage mainpage site and pages

Table of Contents

Methods

__construct()  : mixed
Manager constructor.
createDefaultSocialGroupForPublication()  : void
createDemoPage()  : int|null
getConnectedPageId()  : int|null
Return id of Mainpage landing
getConnectedSiteId()  : int|null
Return ID of special site for Mainpage
getPageTitle()  : string|null
If page connected - get page title. Else - empty string.
getPreviewImg()  : string|null
If page connected - get src to preview image. Else - empty string.
isAvailable()  : bool
isExistDefaultSocialGroupForPublication()  : bool
isReady()  : bool
Check is Mainpage site is fully created, add all pages etc
isUseDemoData()  : bool
Check is widgets must use demo data instead real data
markEndCreation()  : void
Mark is Mainpage site is fully created, add all pages etc.
markStartCreation()  : void
Mark is Mainpage site start creating.

Methods

__construct()

Manager constructor.

public __construct() : mixed

createDefaultSocialGroupForPublication()

public createDefaultSocialGroupForPublication() : void

createDemoPage()

public createDemoPage() : int|null
Return values
int|null

getConnectedPageId()

Return id of Mainpage landing

public getConnectedPageId() : int|null
Return values
int|null

getConnectedSiteId()

Return ID of special site for Mainpage

public getConnectedSiteId() : int|null
Return values
int|null

getPageTitle()

If page connected - get page title. Else - empty string.

public getPageTitle() : string|null
Return values
string|null

getPreviewImg()

If page connected - get src to preview image. Else - empty string.

public getPreviewImg() : string|null
Return values
string|null

isAvailable()

public static isAvailable() : bool
Return values
bool

isExistDefaultSocialGroupForPublication()

public isExistDefaultSocialGroupForPublication() : bool
Return values
bool

isReady()

Check is Mainpage site is fully created, add all pages etc

public isReady() : bool
Return values
bool

isUseDemoData()

Check is widgets must use demo data instead real data

public static isUseDemoData() : bool
Return values
bool

markEndCreation()

Mark is Mainpage site is fully created, add all pages etc.

public markEndCreation() : void

Not created or check site or pages, just mark end of creating process.

markStartCreation()

Mark is Mainpage site start creating.

public markStartCreation() : void

Not created or check site or pages, just mark start of creating process.


        
On this page

Search results