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

Public Methods

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

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

getDescription() public method

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

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

getName() public method

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

protected $descriptions

$names protected property

protected $names