com\setasign\SetaSite\Block\DefaultBlocks\BlockContainer
BlockContainer Interface BlockInterface
File: /SetaSite/src/Block/DefaultBlocks/BlockContainer/BlockContainer.php
Class hierarchy
Implements
- \Psr\Log\LoggerAwareInterface
- \com\setasign\SetaSite\Block\AnchorInterface
- \com\setasign\SetaSite\Block\BlockActionReferrerInterface
- \com\setasign\SetaSite\Block\BlockInterface
- \com\setasign\SetaSite\Block\ControllerBlockInterface
- \com\setasign\SetaSite\Block\HasCacheInterface
Summary
Methods
- __construct()
- __clone()
- __sleep()
- get()
- getAnchors()
- getBlockCache()
- getBlockCacheValidators()
- getCacheName()
- getData()
- getFullName()
- getModuleAdapters()
- getName()
- getPage()
- getPropertyContainer()
- getSourceBlocks()
- getSourcePage()
- getSubpagesTree()
- getUid()
- isBlockFinal()
- lookForBlockAction()
- render()
- setCache()
- setLogger()
- setParams()
Constants
PROVIDED_FILES
protected const \com\setasign\SetaSite\Block\AbstractBlock::PROVIDED_FILES = array (
0 => 'icon.png',
)
Properties
$blockName
protected string \com\setasign\SetaSite\Block\AbstractBlock::$blockName
$logger
protected ?\Psr\Log\LoggerInterface \com\setasign\SetaSite\Block\AbstractBlock::$logger
Static Methods
getConfig()
final public static \com\setasign\SetaSite\Block\AbstractBlock::getConfig (
void
): \com\setasign\SetaFramework\Config\ConfiglookupFile()
public static \com\setasign\SetaSite\Block\AbstractBlock::lookupFile (
string $file
): \com\setasign\SetaFramework\FileSystem\FileParameters
- $file : string
Exceptions
Throws \com\setasign\SetaSite\FileSystem\InvalidPathException
readConfig()
protected static \com\setasign\SetaSite\Block\AbstractBlock::readConfig (
void
): \com\setasign\SetaFramework\Config\ConfigMethods
__construct()
public BlockContainer::__construct (
\com\setasign\SetaSite\Block\BlockFactory $blockFactory,
\com\setasign\SetaSite\SetaSite $setasite,
\com\setasign\SetaSite\SessionContext $sessionContext,
\com\setasign\SetaSite\Block\BlockParent\BlockParentInterface $blockParent,
string $blockName,
array $blockData
)\com\setasign\SetaSite\SetaSite $setasite,
\com\setasign\SetaSite\SessionContext $sessionContext,
\com\setasign\SetaSite\Block\BlockParent\BlockParentInterface $blockParent,
string $blockName,
array $blockData
BlockContainer constructor.
Parameters
- $blockFactory : \com\setasign\SetaSite\Block\BlockFactory
- $setasite : \com\setasign\SetaSite\SetaSite
- $sessionContext : \com\setasign\SetaSite\SessionContext
- $blockParent : \com\setasign\SetaSite\Block\BlockParent\BlockParentInterface
- $blockName : string
- $blockData : array
__sleep()
get()
final public \com\setasign\SetaSite\Block\AbstractBlock::get (
string $propertyName
): \com\setasign\SetaSite\PropertyContainer\Property\AbstractPropertyParameters
- $propertyName : string
getAnchors()
getBlockCache()
protected \com\setasign\SetaSite\Block\AbstractBlock::getBlockCache (
void
): ?\com\setasign\SetaFramework\SimpleCache\ValidationCacheEntrygetModuleAdapters()
Parameters
Exceptions
Throws \com\setasign\SetaSite\Page\UnknownPageException
Throws \com\setasign\SetaSite\BlockManager\UnknownBlockException
getSourceBlocks()
getSubpagesTree()
lookForBlockAction()
public BlockContainer::lookForBlockAction (
string $uuid
): ?\com\setasign\SetaSite\Block\BlockActionInterfaceParameters
- $uuid : string
render()
setCache()
final public \com\setasign\SetaSite\Block\AbstractBlock::setCache (
\Psr\SimpleCache\CacheInterface $cache
): voidParameters
- $cache : \Psr\SimpleCache\CacheInterface
setLogger()
final public \com\setasign\SetaSite\Block\AbstractBlock::setLogger (
\Psr\Log\LoggerInterface $logger
): voidSets a logger instance on the object.
Parameters
- $logger : \Psr\Log\LoggerInterface
setParams()
Parameters
- $params : array
Exceptions
Throws \com\setasign\SetaSite\Page\UnknownPageException
Throws \com\setasign\SetaSite\BlockManager\UnknownBlockException
