TYPO3
7.6
|
Public Member Functions | |
addData (array $result) | |
Protected Member Functions | |
getValueFromDefaultLanguageRecordIfConfigured ($result, $field) | |
Determine the final TCA type value
Definition at line 24 of file DatabaseRecordTypeValue.php.
addData | ( | array | $result | ) |
TCA type value depends on several parameters. The simple case is a direct lookup in the database row, which then just needs handling in case the row is a localization overlay. More complex is the field:field syntax that can look up the actual value in a different table.
array | $result |
\UnexpectedValueException |
Implements FormDataProviderInterface.
Definition at line 37 of file DatabaseRecordTypeValue.php.
References MathUtility\canBeInterpretedAsInteger(), BackendUtility\getRecord(), and DatabaseRecordTypeValue\getValueFromDefaultLanguageRecordIfConfigured().
|
protected |
If a localized row is handled, the field value of the default language record is used instead if tca is configured as "exclude" or "mergeIfNotBlank" with empty localized value.
array | $result | Main "$result" data array |
string | $field | Field name to fetch value for |
Definition at line 145 of file DatabaseRecordTypeValue.php.
Referenced by DatabaseRecordTypeValue\addData().