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

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

Protected Properties

Property 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

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.
getObjectStateGroup ( ) : eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup The object state group this object state belongs to.

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[]

getObjectStateGroup() public method

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

Property Details

$descriptions protected property

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

$names protected property

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

$objectStateGroup protected property

protected ObjectStateGroup,eZ\Publish\API\Repository\Values\ObjectState $objectStateGroup
return eZ\Publish\API\Repository\Values\ObjectState\ObjectStateGroup