PHP Интерфейс Sulu\Component\Content\Compat\StructureManagerInterface

Наследование: extends Symfony\Component\DependencyInjection\ContainerAwareInterface
Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
getStructure ( string $key, string $type = Structure::TYPE_PAGE ) : Sulu\Component\Content\Compat\StructureInterface Returns structure for given key and type.
getStructures ( string $type = Structure::TYPE_PAGE ) : Sulu\Component\Content\Compat\StructureInterface[] Return all the structures of the given type.
wrapStructure ( string $type, StructureMetadata $structure ) : Sulu\Component\Content\Compat\StructureInterface Wrap the given Structure with a legacy (bridge) structure.

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

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

Returns structure for given key and type.
public getStructure ( string $key, string $type = Structure::TYPE_PAGE ) : Sulu\Component\Content\Compat\StructureInterface
$key string
$type string
Результат Sulu\Component\Content\Compat\StructureInterface

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

Return all the structures of the given type.
public getStructures ( string $type = Structure::TYPE_PAGE ) : Sulu\Component\Content\Compat\StructureInterface[]
$type string
Результат Sulu\Component\Content\Compat\StructureInterface[]

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

Wrap the given Structure with a legacy (bridge) structure.
public wrapStructure ( string $type, StructureMetadata $structure ) : Sulu\Component\Content\Compat\StructureInterface
$type string
$structure Sulu\Component\Content\Metadata\StructureMetadata
Результат Sulu\Component\Content\Compat\StructureInterface