PHP Class eZ\Publish\Core\Repository\Values\ObjectState\ObjectState

Inheritance: extends eZ\Publish\API\Repository\Values\ObjectState\ObjectState
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Protected Properties

Свойство Type Description
$descriptions string[] Human readable descriptions of object state.
$names string[] Human readable names of object state.
$objectStateGroup eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup

Méthodes publiques

Méthode Description
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.

Method Details

getDescription() public méthode

This method returns the name of the content type in the given language.
public getDescription ( string $languageCode ) : string
$languageCode string
Résultat string the description for the given language or null if none exists.

getDescriptions() public méthode

The structure of this field is: array( 'eng' => '', 'de' => '' );
public getDescriptions ( ) : string[]
Résultat string[]

getName() public méthode

This method returns the name of the content type in the given language.
public getName ( string $languageCode ) : string
$languageCode string
Résultat string the name for the given language or null if none exists.

getNames() public méthode

The structure of the return value is: array( 'eng' => '', 'de' => '' );
public getNames ( ) : string[]
Résultat string[]

getObjectStateGroup() public méthode

The object state group this object state belongs to.
public getObjectStateGroup ( ) : eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup
Résultat eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup

Property Details

$descriptions protected_oe property

Human readable descriptions of object state.
protected string[] $descriptions
Résultat string[]

$names protected_oe property

Human readable names of object state.
protected string[] $names
Résultat string[]

$objectStateGroup protected_oe property

protected ObjectStateGroup,eZ\Publish\API\Repository\Values\ObjectState $objectStateGroup
Résultat eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup