PHP Interface Sulu\Component\Content\Compat\StructureManagerInterface

Inheritance: extends Symfony\Component\DependencyInjection\ContainerAwareInterface
Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

getStructure() public méthode

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
Résultat Sulu\Component\Content\Compat\StructureInterface

getStructures() public méthode

Return all the structures of the given type.
public getStructures ( string $type = Structure::TYPE_PAGE ) : Sulu\Component\Content\Compat\StructureInterface[]
$type string
Résultat Sulu\Component\Content\Compat\StructureInterface[]

wrapStructure() public méthode

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
Résultat Sulu\Component\Content\Compat\StructureInterface