PHP Class 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.
Inheritance: extends ExtensionContainer
Datei anzeigen Open project: sulu/sulu

Public Methods

Method Description
__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 ( )

Method Details

__construct() public method

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 method

public offsetExists ( $extensionName )

offsetGet() public method

Lazily evaluate the value for the given extension.
public offsetGet ( string $extensionName ) : mixed
$extensionName string
return mixed

toArray() public method

public toArray ( )