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
Afficher le fichier Open project: sulu/sulu

Méthodes publiques

Méthode 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 méthode

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 méthode

public offsetExists ( $extensionName )

offsetGet() public méthode

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

toArray() public méthode

public toArray ( )