PHP Интерфейс Sulu\Component\Content\Metadata\Factory\StructureMetadataFactoryInterface

Показать файл Открыть проект Примеры использования интерфейса

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

Метод Описание
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