com\setasign\SetaSite\Page
DeploymentHelper
File: /SetaSite/src/Page/DeploymentHelper.php
Class hierarchy
Summary
Properties
$pageProperties
protected DeploymentHelper::$pageProperties
$pages
protected DeploymentHelper::$pages
Methods
__construct()
public DeploymentHelper::__construct ()
DeploymentHelper constructor.
Parameters
- $pages : Pages
- $pageProperties : \com\setasign\SetaSite\Config\PageProperties
exportBlock()
Parameters
- $page : Page
- $fullBlockName : string
exportPlaceholder()
Parameters
- $page : Page
- $fullPlaceholderName : string
importBlockIntoPage()
public DeploymentHelper::importBlockIntoPage (
Page $page,
string $fullPlaceholderName,
array $data,
string $blockName,
?string $beforeBlockName = null
): voidstring $fullPlaceholderName,
array $data,
string $blockName,
?string $beforeBlockName = null
Parameters
- $page : Page
- $fullPlaceholderName : string
- $data : array
- $blockName : string
- $beforeBlockName : ?string
importIntoPage()
Parameters
- $page : Page
- $data : array
- $importPageProperties : bool
- $removeExistingBlocks : bool
Exceptions
Throws \com\setasign\SetaSite\BlockManager\BlockFinalException
Throws \com\setasign\SetaSite\BlockManager\UnknownBlockException
importPlaceholderIntoPage()
Parameters
- $page : Page
- $fullPlaceholderName : string
- $data : array
- $removeExistingBlocks : bool
