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
BlockInterface Interface BlockInterface
File: /SetaSite/src/Block/BlockInterface.php
Note: the last arguments of __construct must always be: [BlockParentInterface $blockParent, string $blockName, array $blockData]
Implemented in
Summary
Static Methods
getConfig()
abstract public static BlockInterface::getConfig (
void
): \com\setasign\SetaFramework\Config\ConfiglookupFile()
abstract public static BlockInterface::lookupFile (
string $file
): \com\setasign\SetaFramework\FileSystem\FileParameters
- $file : string
Exceptions
Throws \com\setasign\SetaSite\FileSystem\InvalidPathException
Methods
getModuleAdapters()
If the block has some special functionality for an external module it will return an adapter for this otherwise the array is empty.
Parameters
getPropertyContainer()
abstract public BlockInterface::getPropertyContainer (
void
): \com\setasign\SetaSite\PropertyContainer\PropertyContainerGet the property container of the block
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.
