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

Méthodes publiques

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

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

getStructureType() public méthode

Return the type of the structure used for the content.
public getStructureType ( ) : string
Résultat string

setStructureType() public méthode

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