PHP Класс eZ\Publish\Core\Repository\Values\ObjectState\ObjectState

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

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

Свойство Тип Описание
$descriptions string[] Human readable descriptions of object state.
$names string[] Human readable names of object state.
$objectStateGroup eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup

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

Метод Описание
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.
getObjectStateGroup ( ) : eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup The object state group this object state belongs to.

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

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

This method returns the name of the content type in the given language.
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' => '' );
public getDescriptions ( ) : string[]
Результат string[]

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

This method returns the name of the content type in the given language.
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' => '' );
public getNames ( ) : string[]
Результат string[]

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

The object state group this object state belongs to.
public getObjectStateGroup ( ) : eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup
Результат eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup

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

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

Human readable descriptions of object state.
protected string[] $descriptions
Результат string[]

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

Human readable names of object state.
protected string[] $names
Результат string[]

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

protected ObjectStateGroup,eZ\Publish\API\Repository\Values\ObjectState $objectStateGroup
Результат eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup