PHP Класс Sulu\Component\Content\Document\Extension\ManagedExtensionContainer

In contrast to the Structure, which is a container of properties and returns Property instances, extensions return simple arrays. Note that we should remove this class as retrieving the processed data for extensions should be done externally to the document.
Наследование: extends ExtensionContainer
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( string $structureType, Sulu\Component\Content\Extension\ExtensionManagerInterface $extensionManager, PHPCR\NodeInterface $node, string $locale, string $prefix, string $internalPrefix, string $webspaceName )
offsetExists ( $extensionName )
offsetGet ( string $extensionName ) : mixed Lazily evaluate the value for the given extension.
toArray ( )

Описание методов

__construct() публичный Метод

public __construct ( string $structureType, Sulu\Component\Content\Extension\ExtensionManagerInterface $extensionManager, PHPCR\NodeInterface $node, string $locale, string $prefix, string $internalPrefix, string $webspaceName )
$structureType string
$extensionManager Sulu\Component\Content\Extension\ExtensionManagerInterface
$node PHPCR\NodeInterface
$locale string
$prefix string
$internalPrefix string
$webspaceName string

offsetExists() публичный Метод

public offsetExists ( $extensionName )

offsetGet() публичный Метод

Lazily evaluate the value for the given extension.
public offsetGet ( string $extensionName ) : mixed
$extensionName string
Результат mixed

toArray() публичный Метод

public toArray ( )