com\setasign\SetaSite\Page

DeploymentHelper

File: /SetaSite/src/Page/DeploymentHelper.php

Class hierarchy

Summary

Properties

$pageProperties

$pages


Methods

__construct()

DeploymentHelper constructor.

Parameters
$pages : Pages
 
$pageProperties : \com\setasign\SetaSite\Config\PageProperties
 

exportBlock()

public DeploymentHelper::exportBlock (
Page $page,
string $fullBlockName
): array
Parameters
$page : Page
 
$fullBlockName : string
 

exportPage()

public DeploymentHelper::exportPage (
Page $page
): array
Parameters
$page : Page
 

exportPlaceholder()

public DeploymentHelper::exportPlaceholder (
Page $page,
string $fullPlaceholderName
): array
Parameters
$page : Page
 
$fullPlaceholderName : string
 

importBlockIntoPage()

public DeploymentHelper::importBlockIntoPage (
Page $page,
string $fullPlaceholderName,
array $data,
string $blockName,
?string $beforeBlockName = null
): void
Parameters
$page : Page
 
$fullPlaceholderName : string
 
$data : array
 
$blockName : string
 
$beforeBlockName : ?string
 

importIntoPage()

public DeploymentHelper::importIntoPage (
Page $page,
array $data,
bool $importPageProperties,
bool $removeExistingBlocks
): void
Parameters
$page : Page
 
$data : array
 
$importPageProperties : bool
 
$removeExistingBlocks : bool
 
Exceptions

Throws \com\setasign\SetaSite\BlockManager\BlockFinalException

Throws \com\setasign\SetaSite\BlockManager\UnknownBlockException

importPlaceholderIntoPage()

public DeploymentHelper::importPlaceholderIntoPage (
Page $page,
string $fullPlaceholderName,
array $data,
bool $removeExistingBlocks
): void
Parameters
$page : Page
 
$fullPlaceholderName : string
 
$data : array
 
$removeExistingBlocks : bool