PHP Интерфейс Sulu\Component\Content\ContentTypeManagerInterface

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

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

Метод Описание
get ( string $contentTypeName ) : Sulu\Component\Content\ContentTypeInterface returns content type.
getAll ( ) : Sulu\Component\Content\ContentTypeInterface[] returns all content types.
has ( string $contentTypeName ) : boolean checks if contentType exists.

Описание методов

get() публичный Метод

returns content type.
public get ( string $contentTypeName ) : Sulu\Component\Content\ContentTypeInterface
$contentTypeName string The name of the content to load
Результат Sulu\Component\Content\ContentTypeInterface

getAll() публичный Метод

returns all content types.
public getAll ( ) : Sulu\Component\Content\ContentTypeInterface[]
Результат Sulu\Component\Content\ContentTypeInterface[]

has() публичный Метод

checks if contentType exists.
public has ( string $contentTypeName ) : boolean
$contentTypeName string
Результат boolean