PHP Class Sulu\Component\Content\Document\Structure\ManagedStructure

Inheritance: extends Structure
Mostrar archivo Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( Sulu\Component\Content\ContentTypeManagerInterface $contentTypeManager, LegacyPropertyFactory $legacyPropertyFactory, DocumentInspector $inspector, object $document )
bind ( $data, $clearMissing = true )
getContentViewProperty ( $name )
getProperty ( $name )
offsetExists ( $offset )
setStructureMetadata ( StructureMetadata $structure ) Update the structure.
toArray ( ) : array Return an array copy of the property data.

Private Methods

Method Description
init ( )

Method Details

__construct() public method

public __construct ( Sulu\Component\Content\ContentTypeManagerInterface $contentTypeManager, LegacyPropertyFactory $legacyPropertyFactory, DocumentInspector $inspector, object $document )
$contentTypeManager Sulu\Component\Content\ContentTypeManagerInterface
$legacyPropertyFactory Sulu\Component\Content\Compat\Structure\LegacyPropertyFactory
$inspector Sulu\Bundle\DocumentManagerBundle\Bridge\DocumentInspector
$document object

bind() public method

public bind ( $data, $clearMissing = true )

getContentViewProperty() public method

public getContentViewProperty ( $name )

getProperty() public method

public getProperty ( $name )

offsetExists() public method

public offsetExists ( $offset )

setStructureMetadata() public method

Update the structure.
public setStructureMetadata ( StructureMetadata $structure )
$structure Sulu\Component\Content\Metadata\StructureMetadata

toArray() public method

Return an array copy of the property data.
public toArray ( ) : array
return array