Свойство | Type | Description | |
---|---|---|---|
$innerContentType | eZ\Publish\API\Repository\Values\ContentType\ContentType | Holds internal content type object. |
Méthode | Description | |
---|---|---|
__get ( string $property ) : mixed | Magic getter for routing get calls to innerContentType. | |
__isset ( string $property ) : boolean | Magic isset for routing isset calls to innerContentType. | |
__set ( string $property, mixed $propertyValue ) | Magic set for routing set calls to innerContentType. | |
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 ) : eZ\Publish\API\Repository\Values\ContentType\FieldDefinition | This method returns the field definition for the given identifier. | |
getFieldDefinitionById ( mixed $fieldDefinitionId ) : eZ\Publish\API\Repository\Values\ContentType\FieldDefinition | This method returns the field definition for the given id. | |
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. |
Méthode | Description | |
---|---|---|
getProperties ( array $dynamicProperties = ['contentTypeGroups', 'fieldDefinitions'] ) : array | Function where list of properties are returned. |
public getContentTypeGroups ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup[] | ||
Résultat | eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup[] |
public getDescription ( string $languageCode ) : string | ||
$languageCode | string | |
Résultat | string | the description for the given language or null if none exists. |
array( 'eng' => '', 'de' => '' );
public getDescriptions ( ) : string[] | ||
Résultat | string[] |
public getFieldDefinition ( string $fieldDefinitionIdentifier ) : eZ\Publish\API\Repository\Values\ContentType\FieldDefinition | ||
$fieldDefinitionIdentifier | string | |
Résultat | eZ\Publish\API\Repository\Values\ContentType\FieldDefinition |
public getFieldDefinitionById ( mixed $fieldDefinitionId ) : eZ\Publish\API\Repository\Values\ContentType\FieldDefinition | ||
$fieldDefinitionId | mixed | |
Résultat | eZ\Publish\API\Repository\Values\ContentType\FieldDefinition |
public getFieldDefinitions ( ) : eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] | ||
Résultat | eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] |
array( 'eng' => '', 'de' => '' );
public getNames ( ) : string[] | ||
Résultat | string[] |
protected getProperties ( array $dynamicProperties = ['contentTypeGroups', 'fieldDefinitions'] ) : array | ||
$dynamicProperties | array | |
Résultat | array |