LanguageAwareSchemaCapability implements SchemaCapabilityInterface
Read onlyYes
FinalYes
Contains all information if a schema is language-aware, meaning it has a "languageField", a "translationOrigPointerField", maybe a "translationSourceField" and maybe a "diffSourceField".
This is an experimental implementation and might change until TYPO3 v13 LTS
Table of Contents
Interfaces
- SchemaCapabilityInterface
- A semantic interface for any kind of capability.
Properties
- $diffSourceField : FieldTypeInterface|null
- $languageField : LanguageFieldType
- $originPointerField : FieldTypeInterface
- $translationSourceField : FieldTypeInterface|null
Methods
- __construct() : mixed
- getDiffSourceField() : FieldTypeInterface|null
- getLanguageField() : LanguageFieldType
- getTranslationOriginPointerField() : FieldTypeInterface
- getTranslationSourceField() : FieldTypeInterface|null
- hasDiffSourceField() : bool
- hasTranslationSourceField() : bool
Properties
$diffSourceField
protected
FieldTypeInterface|null
$diffSourceField
$languageField
protected
LanguageFieldType
$languageField
$originPointerField
protected
FieldTypeInterface
$originPointerField
$translationSourceField
protected
FieldTypeInterface|null
$translationSourceField
Methods
__construct()
public
__construct(LanguageFieldType $languageField, FieldTypeInterface $originPointerField, FieldTypeInterface|null $translationSourceField, FieldTypeInterface|null $diffSourceField) : mixed
Parameters
- $languageField : LanguageFieldType
- $originPointerField : FieldTypeInterface
- $translationSourceField : FieldTypeInterface|null
- $diffSourceField : FieldTypeInterface|null
getDiffSourceField()
public
getDiffSourceField() : FieldTypeInterface|null
Return values
FieldTypeInterface|nullgetLanguageField()
public
getLanguageField() : LanguageFieldType
Return values
LanguageFieldTypegetTranslationOriginPointerField()
public
getTranslationOriginPointerField() : FieldTypeInterface
Return values
FieldTypeInterfacegetTranslationSourceField()
public
getTranslationSourceField() : FieldTypeInterface|null
Return values
FieldTypeInterface|nullhasDiffSourceField()
public
hasDiffSourceField() : bool
Return values
boolhasTranslationSourceField()
public
hasTranslationSourceField() : bool