PHP Интерфейс 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();
Наследование: extends Sulu\Component\DocumentManager\Behavior\Mapping\LocaleBehavior
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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.

Описание методов

getStructure() публичный Метод

Return the StructureInterface instance.
public getStructure ( ) : Sulu\Component\Content\Document\Structure\StructureInterface
Результат Sulu\Component\Content\Document\Structure\StructureInterface

getStructureType() публичный Метод

Return the type of the structure used for the content.
public getStructureType ( ) : string
Результат string

setStructureType() публичный Метод

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