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
AbstractTwigMultiBlock Interface BlockInterface
File: /SetaSite/src/Block/AbstractTwigMultiBlock.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()
- renderView()
- setCache()
- setLogger()
- setParams()
Constants
PROVIDED_FILES
Properties
$blockName
protected string AbstractBlock::$blockName
$di
protected AbstractTwigMultiBlock::$di
$isBlockFinal
protected AbstractBlock::$isBlockFinal
$logger
protected ?\Psr\Log\LoggerInterface AbstractBlock::$logger
$params
protected array AbstractMultiBlock::$params
$placeholderFinder
protected AbstractTwigMultiBlock::$placeholderFinder
$twig
protected AbstractTwigMultiBlock::$twig
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 AbstractTwigMultiBlock::__construct (
\com\setasign\SetaFramework\Di\Di $di,
\com\setasign\SetaSite\Twig\SetasiteTwigEnvironment $twig,
\com\setasign\SetaSite\Page\PlaceholderFinder $placeholderFinder,
BlockFactory $blockFactory,
\com\setasign\SetaSite\Page\PageSettings $pageSettings,
\com\setasign\SetaSite\SetaSite $setasite,
\com\setasign\SetaSite\SessionContext $sessionContext,
BlockParent\BlockParentInterface $blockParent,
string $blockName,
array $blockData
)\com\setasign\SetaSite\Twig\SetasiteTwigEnvironment $twig,
\com\setasign\SetaSite\Page\PlaceholderFinder $placeholderFinder,
BlockFactory $blockFactory,
\com\setasign\SetaSite\Page\PageSettings $pageSettings,
\com\setasign\SetaSite\SetaSite $setasite,
\com\setasign\SetaSite\SessionContext $sessionContext,
BlockParent\BlockParentInterface $blockParent,
string $blockName,
array $blockData
AbstractViewBlock constructor.
Parameters
- $di : \com\setasign\SetaFramework\Di\Di
- $twig : \com\setasign\SetaSite\Twig\SetasiteTwigEnvironment
- $placeholderFinder : \com\setasign\SetaSite\Page\PlaceholderFinder
- $blockFactory : BlockFactory
- $pageSettings : \com\setasign\SetaSite\Page\PageSettings
- $setasite : \com\setasign\SetaSite\SetaSite
- $sessionContext : \com\setasign\SetaSite\SessionContext
- $blockParent : BlockParent\BlockParentInterface
- $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
renderView()
This is the real render method.
This method will not be called if the cache is used.
Exceptions
Throws ForceResponseException
Throws \com\setasign\SetaSite\HttpErrorException
Throws \Throwable
