PHP 인터페이스 Sulu\Component\Content\Compat\StructureManagerInterface

상속: extends Symfony\Component\DependencyInjection\ContainerAwareInterface
파일 보기 프로젝트 열기: sulu/sulu 0 사용 예제들

공개 메소드들

메소드 설명
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