PHP Class eZ\Publish\Core\Repository\Values\ContentType\ContentTypeGroup

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

Protected Properties

Property Type Description
$descriptions string[]
$names string[]

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.
Since: 5.0
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' => '' );
Since: 5.0
public getDescriptions ( ) : string[]
return string[]

getName() public method

This method returns the name of the content type in the given language.
Since: 5.0
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' => '' );
Since: 5.0
public getNames ( ) : string[]
return string[]

Property Details

$descriptions protected property

protected string[] $descriptions
return string[]

$names protected property

protected string[] $names
return string[]