Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Site

Открытые статические члены

static getUrl (string $type, int $siteId)
 
static getInitManifest (Event $event)
 
static nextStep (Event $event)
 
static onFinish (Event $event)
 

Открытые атрибуты

const MAX_SITE_FOR_EXPORT = 10
 
const FILENAME_EXPORT_STEP_META = 'page_#site_id#_00'
 
const FILENAME_EXPORT_STEP_PAGE = 'page_#site_id#_10_#landing_id#'
 

Защищенные статические члены

static getRestAppIds (array $appCodes)
 
static exportSiteMeta (int $siteId)
 

Подробное описание

См. определение в файле site.php строка 15

Методы

◆ exportSiteMeta()

static exportSiteMeta ( int $siteId)
staticprotected

Exports site meta information.

Аргументы
int$siteIdSite id.
Возвращает
array|null

См. определение в файле site.php строка 164

◆ getInitManifest()

static getInitManifest ( Event $event)
static

Returns prepare manifest settings for export.

Аргументы
Event$eventEvent instance.
Возвращает
array|null

См. определение в файле site.php строка 79

◆ getRestAppIds()

static getRestAppIds ( array $appCodes)
staticprotected

Returns applications id by it codes.

Аргументы
array$appCodesApplications codes.
Возвращает
array

См. определение в файле site.php строка 54

◆ getUrl()

static getUrl ( string $type,
int $siteId )
static

Returns export url for the site.

Аргументы
string$typeSite type.
int$siteIdSite id.
Возвращает
string

См. определение в файле site.php строка 38

◆ nextStep()

static nextStep ( Event $event)
static

Process one export step.

Аргументы
Event$eventEvent instance.
Возвращает
array

См. определение в файле site.php строка 241

◆ onFinish()

static onFinish ( Event $event)
static

Final step.

Аргументы
Event$eventEvent instance.
Возвращает
array

См. определение в файле site.php строка 329

Данные класса

◆ FILENAME_EXPORT_STEP_META

const FILENAME_EXPORT_STEP_META = 'page_#site_id#_00'

File name for step when called site meta data.

См. определение в файле site.php строка 25

◆ FILENAME_EXPORT_STEP_PAGE

const FILENAME_EXPORT_STEP_PAGE = 'page_#site_id#_10_#landing_id#'

File name for step when called ste page.

См. определение в файле site.php строка 30

◆ MAX_SITE_FOR_EXPORT

const MAX_SITE_FOR_EXPORT = 10

Maximum sites for export.

См. определение в файле site.php строка 20