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
AbstractViewMultiBlock Interface BlockInterface
File: /SetaSite/src/Block/AbstractViewMultiBlock.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
$isBlockFinal
$logger
$params
$view
Static Methods
lookupFile()
Parameters
- $file : string
Exceptions
Throws \com\setasign\SetaSite\FileSystem\InvalidPathException
Methods
__construct()
\com\setasign\SetaFramework\View\View $view,
\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
- $view : \com\setasign\SetaFramework\View\View
- $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()
Parameters
- $propertyName : string
getBlockCache()
getModuleAdapters()
Parameters
getPropertyContainer()
render()
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 \com\setasign\SetaFramework\View\MissingViewException
Throws \com\setasign\SetaFramework\View\RenderException
Throws ForceResponseException
Throws \com\setasign\SetaSite\HttpErrorException
Throws \Throwable
