Site
Table of Contents
Constants
- FILENAME_EXPORT_STEP_META = 'page_#site_id#_00'
- File name for step when called site meta data.
- FILENAME_EXPORT_STEP_PAGE = 'page_#site_id#_10_#landing_id#'
- File name for step when called ste page.
- MAX_SITE_FOR_EXPORT = 10
- Maximum sites for export.
Methods
- getInitManifest() : array<string|int, mixed>|null
- Returns prepare manifest settings for export.
- getUrl() : string
- Returns export url for the site.
- nextStep() : array<string|int, mixed>
- Process one export step.
- onFinish() : array<string|int, mixed>
- Final step.
Constants
FILENAME_EXPORT_STEP_META
File name for step when called site meta data.
public
mixed
FILENAME_EXPORT_STEP_META
= 'page_#site_id#_00'
FILENAME_EXPORT_STEP_PAGE
File name for step when called ste page.
public
mixed
FILENAME_EXPORT_STEP_PAGE
= 'page_#site_id#_10_#landing_id#'
MAX_SITE_FOR_EXPORT
Maximum sites for export.
public
mixed
MAX_SITE_FOR_EXPORT
= 10
Methods
getInitManifest()
Returns prepare manifest settings for export.
public
static getInitManifest(Event $event) : array<string|int, mixed>|null
Parameters
- $event : Event
-
Event instance.
Return values
array<string|int, mixed>|nullgetUrl()
Returns export url for the site.
public
static getUrl(string $type, int $siteId) : string
Parameters
- $type : string
-
Site type.
- $siteId : int
-
Site id.
Return values
stringnextStep()
Process one export step.
public
static nextStep(Event $event) : array<string|int, mixed>
Parameters
- $event : Event
-
Event instance.
Return values
array<string|int, mixed>onFinish()
Final step.
public
static onFinish(Event $event) : array<string|int, mixed>
Parameters
- $event : Event
-
Event instance.