TYPO3
7.6
|
Public Member Functions | |
addData (array $result) | |
Protected Member Functions | |
getRecordTitleByLabelProperties (array $result) | |
getRecordTitleForField ($fieldName, $result) | |
getRecordTitleForRadioType ($value, $fieldConfig) | |
getRecordTitleForSelectType ($value, $fieldConfig) | |
getRecordTitleForGroupType ($value, $fieldConfig) | |
getRecordTitleForCheckboxType ($value, $fieldConfig) | |
getRecordTitleForInputType ($value, $fieldConfig) | |
getRecordTitleForTextType ($value) | |
getDatabaseConnection () | |
getLanguageService () | |
Determine the title of a record and write it to $result['recordTitle'].
TCA ctrl fields like label and label_alt are evaluated and their current values from databaseRow used to create the title.
Definition at line 29 of file TcaRecordTitle.php.
addData | ( | array | $result | ) |
Enrich the processed record information with the resolved title
array | $result | Incoming result array |
Implements FormDataProviderInterface.
Definition at line 37 of file TcaRecordTitle.php.
References GeneralUtility\callUserFunction(), elseif, TcaRecordTitle\getRecordTitleByLabelProperties(), TcaRecordTitle\getRecordTitleForField(), and BackendUtility\getRecordTitlePrep().
|
protected |
|
protected |
Definition at line 363 of file TcaRecordTitle.php.
References $GLOBALS.
Referenced by TcaRecordTitle\getRecordTitleForCheckboxType(), and TcaRecordTitle\getRecordTitleForInputType().
|
protected |
Build the record title from label, label_alt and label_alt_force properties
array | $result | Incoming result array |
Definition at line 103 of file TcaRecordTitle.php.
References TcaRecordTitle\getRecordTitleForField(), and GeneralUtility\trimExplode().
Referenced by TcaRecordTitle\addData().
|
protected |
Returns the record title for checkbox fields
mixed | $value | Current database value of this field |
array | $fieldConfig | TCA field configuration |
Definition at line 268 of file TcaRecordTitle.php.
References TcaRecordTitle\getLanguageService().
Referenced by TcaRecordTitle\getRecordTitleForField().
|
protected |
Record title of a single field
string | $fieldName | Field to handle |
array | $result | Incoming result array |
Definition at line 141 of file TcaRecordTitle.php.
References TcaRecordTitle\getRecordTitleForCheckboxType(), TcaRecordTitle\getRecordTitleForGroupType(), TcaRecordTitle\getRecordTitleForInputType(), TcaRecordTitle\getRecordTitleForRadioType(), TcaRecordTitle\getRecordTitleForSelectType(), and TcaRecordTitle\getRecordTitleForTextType().
Referenced by TcaRecordTitle\addData(), and TcaRecordTitle\getRecordTitleByLabelProperties().
|
protected |
Return the record title for database records
mixed | $value | Current database value of this field |
array | $fieldConfig | TCA field configuration |
Definition at line 243 of file TcaRecordTitle.php.
References GeneralUtility\trimExplode().
Referenced by TcaRecordTitle\getRecordTitleForField().
|
protected |
Returns the record title for input fields
mixed | $value | Current database value of this field |
array | $fieldConfig | TCA field configuration |
Definition at line 294 of file TcaRecordTitle.php.
References $GLOBALS, BackendUtility\calcAge(), BackendUtility\date(), BackendUtility\datetime(), elseif, TcaRecordTitle\getLanguageService(), GeneralUtility\inList(), and BackendUtility\time().
Referenced by TcaRecordTitle\getRecordTitleForField().
|
protected |
Return the record title for radio fields
mixed | $value | Current database value of this field |
array | $fieldConfig | TCA field configuration |
Definition at line 196 of file TcaRecordTitle.php.
Referenced by TcaRecordTitle\getRecordTitleForField().
|
protected |
Return the record title for database records
mixed | $value | Current database value of this field |
array | $fieldConfig | TCA field configuration |
Definition at line 217 of file TcaRecordTitle.php.
Referenced by TcaRecordTitle\getRecordTitleForField().
|
protected |
Returns the record title for text fields
mixed | $value | Current database value of this field |
Definition at line 347 of file TcaRecordTitle.php.
Referenced by TcaRecordTitle\getRecordTitleForField().