PHP Class eZ\Publish\Core\REST\Client\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
$names

Méthodes publiques

Méthode Description
__construct ( array $data = [] )
getDescription ( string $languageCode ) : string 5.x only This method returns the name of the content type in the given language.
getDescriptions ( ) : string[] 5.x only This method returns the human readable description of the content type The structure of this field is: array( 'eng' => '', 'de' => '' ); .
getName ( string $languageCode ) : string 5.x only This method returns the name of the content type in the given language.
getNames ( ) : string[] 5.x only This method returns the human readable name in all provided languages of the content type.

Method Details

__construct() public méthode

public __construct ( array $data = [] )
$data array

getDescription() public méthode

5.x only 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

5.x only This method returns the human readable description of the content type The structure of this field is: array( 'eng' => '', 'de' => '' ); .
public getDescriptions ( ) : string[]
Résultat string[]

getName() public méthode

5.x only 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[]

Property Details

$descriptions protected_oe property

protected $descriptions

$names protected_oe property

protected $names