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
파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
__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 ( )