PHP Class eZ\Publish\Core\FieldType\NameableFieldTypeFallback
Provides fallback to for all FieldTypes that don't have a Nameable FieldType service, by
falling back to using the older, but limited FieldType->getName() method.
Afficher le fichier
Open project: ezsystems/ezpublish-kernel
Méthodes publiques
Méthode |
Description |
|
__construct ( eZ\Publish\SPI\FieldType\FieldType $fieldType ) |
|
|
getFieldName ( eZ\Publish\SPI\FieldType\Value $value, eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $fieldDefinition, string $languageCode ) : string |
|
|
Method Details
__construct()
public méthode
public __construct ( eZ\Publish\SPI\FieldType\FieldType $fieldType ) |
$fieldType |
eZ\Publish\SPI\FieldType\FieldType |
|
getFieldName()
public méthode
public getFieldName ( eZ\Publish\SPI\FieldType\Value $value, eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $fieldDefinition, string $languageCode ) : string |
$value |
eZ\Publish\SPI\FieldType\Value |
|
$fieldDefinition |
eZ\Publish\API\Repository\Values\ContentType\FieldDefinition |
|
$languageCode |
string |
|
Résultat |
string |
|