Index
-
\com\setasign\SetaSite
-
Block
- AbstractBlock
- AbstractMultiBlock
- AbstractTwigBlock
- AbstractTwigControllerBlock
- AbstractTwigMultiBlock
- AbstractViewBlock
- AbstractViewControllerBlock
- AbstractViewMultiBlock
- AnchorInterface
- BlockActionInterface
- BlockActionReferrerInterface
- BlockActionTrait
- BlockFactory
- BlockInterface
- BlockParent
- BlockRenderException
- ControllerBlockInterface
- DefaultBlocks
- ForceResponseException
- HasCacheInterface
- MultiBlockInterface
- PageRenderDataChangeCacheValidator
-
Block
com\setasign\SetaSite\Block
AbstractMultiBlock Interface BlockInterface
File: /SetaSite/src/Block/AbstractMultiBlock.php
Class hierarchy
Implements
- \Psr\Log\LoggerAwareInterface
- AnchorInterface
- BlockActionReferrerInterface
- BlockInterface
- ControllerBlockInterface
- HasCacheInterface
- MultiBlockInterface
Summary
Methods
- __construct()
- __clone()
- __sleep()
- fetchPlaceholders()
- get()
- getAnchors()
- getBlockCache()
- getBlockCacheValidators()
- getBlockManager()
- getCacheName()
- getData()
- getFullName()
- getModuleAdapters()
- getName()
- getPage()
- getPropertyContainer()
- getSubpagesTree()
- getUid()
- isBlockFinal()
- lookForBlockAction()
- render()
- renderBlockManager()
- setCache()
- setLogger()
- setParams()
Constants
PROVIDED_FILES
Properties
$blockName
protected string AbstractBlock::$blockName
$isBlockFinal
protected AbstractBlock::$isBlockFinal
$logger
protected ?\Psr\Log\LoggerInterface AbstractBlock::$logger
$params
protected array AbstractMultiBlock::$params
Static Methods
lookupFile()
public static AbstractBlock::lookupFile (
string $file
): \com\setasign\SetaFramework\FileSystem\FileParameters
- $file : string
Exceptions
Throws \com\setasign\SetaSite\FileSystem\InvalidPathException
Methods
__construct()
public AbstractMultiBlock::__construct (
\com\setasign\SetaSite\SetaSite $blockFactory,
\com\setasign\SetaSite\SessionContext $pageSettings,
BlockParent\BlockParentInterface $setasite,
string $sessionContext,
array $blockParent,
string $blockName,
array $blockData
)\com\setasign\SetaSite\SessionContext $pageSettings,
BlockParent\BlockParentInterface $setasite,
string $sessionContext,
array $blockParent,
string $blockName,
array $blockData
Parameters
- $blockFactory : \com\setasign\SetaSite\SetaSite
- $pageSettings : \com\setasign\SetaSite\SessionContext
- $setasite : BlockParent\BlockParentInterface
- $sessionContext : string
- $blockParent : array
- $blockName : string
- $blockData : array
__sleep()
get()
final public AbstractBlock::get (
string $propertyName
): \com\setasign\SetaSite\PropertyContainer\Property\AbstractPropertyParameters
- $propertyName : string
getBlockCache()
protected AbstractBlock::getBlockCache (
void
): ?\com\setasign\SetaFramework\SimpleCache\ValidationCacheEntrygetModuleAdapters()
Parameters
getPropertyContainer()
final public AbstractBlock::getPropertyContainer (
void
): \com\setasign\SetaSite\PropertyContainer\PropertyContainerrender()
Return Values
The rendered block
Exceptions
Throws ForceResponseException If the block forces a complete response.
Throws \com\setasign\SetaSite\HttpErrorException If the block forces a http error.
Throws \com\setasign\SetaFramework\Bootstrap\MaintenanceException
Throws BlockRenderException If something went wrong on rendering the block.
renderBlockManager()
Exceptions
Throws ForceResponseException
