PHP Класс Sulu\Component\Content\Metadata\Factory\StructureMetadataFactory

Наследование: implements Sulu\Component\Content\Metadata\Factory\StructureMetadataFactoryInterface
Показать файл Открыть проект Примеры использования класса

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

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