PHP Класс eZ\Publish\Core\Repository\Values\ContentType\ContentTypeGroup

Наследование: extends eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$descriptions string[]
$names string[]

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

Метод Описание
getDescription ( string $languageCode ) : string This method returns the name of the content type in the given language.
getDescriptions ( ) : string[] This method returns the human readable description of the content type.
getName ( string $languageCode ) : string This method returns the name of the content type in the given language.
getNames ( ) : string[] This method returns the human readable name in all provided languages of the content type.

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

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

This method returns the name of the content type in the given language.
С версии: 5.0
public getDescription ( string $languageCode ) : string
$languageCode string
Результат string the description for the given language or null if none exists.

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

The structure of this field is: array( 'eng' => '', 'de' => '' );
С версии: 5.0
public getDescriptions ( ) : string[]
Результат string[]

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

This method returns the name of the content type in the given language.
С версии: 5.0
public getName ( string $languageCode ) : string
$languageCode string
Результат string the name for the given language or null if none exists.

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

The structure of the return value is: array( 'eng' => '', 'de' => '' );
С версии: 5.0
public getNames ( ) : string[]
Результат string[]

Описание свойств

$descriptions защищенное свойство

protected string[] $descriptions
Результат string[]

$names защищенное свойство

protected string[] $names
Результат string[]