Property | Type | Description | |
---|---|---|---|
$contentTypeGroupListReference | string | Contains the URL for the list of ContentTypeGroups for the ContentType. | |
$contentTypeService | Content type service to fetch additional information from. | ||
$descriptions | string[] | Contains the human readable description of the content type. | |
$fieldDefinitionListReference | string | Carries the URL for the list of FieldDefinitions for the type. | |
$names | string[] | Contains the human readable name in all provided languages of the content type. |
Method | Description | |
---|---|---|
__construct ( |
||
__get ( string $property ) : mixed | Magic getter for retrieving convenience properties. | |
__isset ( string $property ) : boolean | Magic isset for signaling existence of convenience properties. | |
getContentTypeGroups ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup[] | This method returns the content type groups this content type is assigned to. | |
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. | |
getFieldDefinition ( string $fieldDefinitionIdentifier ) : |
This method returns the field definition for the given identifier. | |
getFieldDefinitions ( ) : eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] | This method returns the content type field definitions from this 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. |
public __construct ( |
||
$contentTypeService | ||
$data | array |
public getContentTypeGroups ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup[] | ||
return | eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup[] |
public getDescription ( string $languageCode ) : string | ||
$languageCode | string | |
return | string | the description for the given language or null if none exists. |
array( 'eng' => '', 'de' => '' );
public getDescriptions ( ) : string[] | ||
return | string[] |
public getFieldDefinition ( string $fieldDefinitionIdentifier ) : |
||
$fieldDefinitionIdentifier | string | |
return |
public getFieldDefinitions ( ) : eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] | ||
return | eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] |
array( 'eng' => '', 'de' => '' );
public getNames ( ) : string[] | ||
return | string[] |
protected string $contentTypeGroupListReference | ||
return | string |
protected ContentTypeService,eZ\Publish\Core\REST\Client $contentTypeService | ||
return |
protected string[] $descriptions | ||
return | string[] |
protected string $fieldDefinitionListReference | ||
return | string |