PHP 클래스 Sulu\Component\Content\Metadata\Factory\StructureMetadataFactory

상속: implements Sulu\Component\Content\Metadata\Factory\StructureMetadataFactoryInterface
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Config\Loader\LoaderInterface $loader, array $typePaths, array $defaultTypes, mixed $cachePath, mixed $debug = false )
getStructureMetadata ( $type, $structureType = null )
getStructures ( $type )
hasStructuresFor ( $type )

비공개 메소드들

메소드 설명
assertExists ( string $type ) Assert type exists.
getDefaultStructureType ( string $type ) : string | null Return the default structure type for the the given document type.
getPaths ( string $type ) : array Get the paths from the type path configuration.
getStructureNames ( string $type ) : string[] Return the structure names for the given type (not necessarily valid).

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\Config\Loader\LoaderInterface $loader, array $typePaths, array $defaultTypes, mixed $cachePath, mixed $debug = false )
$loader Symfony\Component\Config\Loader\LoaderInterface
$typePaths array
$defaultTypes array
$cachePath mixed
$debug mixed

getStructureMetadata() 공개 메소드

public getStructureMetadata ( $type, $structureType = null )

getStructures() 공개 메소드

public getStructures ( $type )

hasStructuresFor() 공개 메소드

public hasStructuresFor ( $type )