PHP Interface Sulu\Component\Content\Document\Behavior\StructureBehavior

Content is set by binding raw data to the StructureInterface retried through the getContent method. Content is accessed as folows: $this->getContent()->getProperty('foo')->getValue();
Inheritance: extends Sulu\Component\DocumentManager\Behavior\Mapping\LocaleBehavior
Show file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
getStructure ( ) : Sulu\Component\Content\Document\Structure\StructureInterface Return the StructureInterface instance.
getStructureType ( ) : string Return the type of the structure used for the content.
setStructureType ( $structureType ) Set the structure type used for the content.

Method Details

getStructure() public method

Return the StructureInterface instance.
public getStructure ( ) : Sulu\Component\Content\Document\Structure\StructureInterface
return Sulu\Component\Content\Document\Structure\StructureInterface

getStructureType() public method

Return the type of the structure used for the content.
public getStructureType ( ) : string
return string

setStructureType() public method

Set the structure type used for the content.
public setStructureType ( $structureType )