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

Inheritance: extends eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup
Show file Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$descriptions string[] Human readable descriptions of object state group.
$names string[] Human readable names of object state group.

Public Methods

Method 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.

Method Details

getDescription() public method

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

getDescriptions() public method

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

getName() public method

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

getNames() public method

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

Property Details

$descriptions protected property

Human readable descriptions of object state group.
protected string[] $descriptions
return string[]

$names protected property

Human readable names of object state group.
protected string[] $names
return string[]