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

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

Protected Properties

Свойство Type Description
$descriptions string[]
$names string[]

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.

Method Details

getDescription() public méthode

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

getName() public méthode

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

Property Details

$descriptions protected_oe property

protected string[] $descriptions
Résultat string[]

$names protected_oe property

protected string[] $names
Résultat string[]