PHP 인터페이스 Sulu\Component\Content\Metadata\Factory\StructureMetadataFactoryInterface

파일 보기 프로젝트 열기: sulu/sulu 0 사용 예제들

공개 메소드들

메소드 설명
getStructureMetadata ( mixed $type, mixed $structureType ) : StructureMetadata | null Return the structure of the given $type and $structureType.
getStructures ( $type ) : StructureMetadata[] Return all structures of the given type.
hasStructuresFor ( string $type ) : boolean Return true if the given type has been registered with the structure factory.

메소드 상세

getStructureMetadata() 공개 메소드

Return the structure of the given $type and $structureType.
public getStructureMetadata ( mixed $type, mixed $structureType ) : StructureMetadata | null
$type mixed The primary system type, e.g. page, snippet
$structureType mixed The secondary user type
리턴 Sulu\Component\Content\Metadata\StructureMetadata | null

getStructures() 공개 메소드

Return all structures of the given type.
public getStructures ( $type ) : StructureMetadata[]
리턴 Sulu\Component\Content\Metadata\StructureMetadata[]

hasStructuresFor() 공개 메소드

Return true if the given type has been registered with the structure factory.
public hasStructuresFor ( string $type ) : boolean
$type string
리턴 boolean