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();
Показать файл
Открыть проект
Примеры использования интерфейса
Открытые методы
Метод |
Описание |
|
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.
setStructureType()
публичный Метод
Set the structure type used for the content.