TYPO3
7.6
|
Public Member Functions | |
addData (array $result) | |
Protected Member Functions | |
getFlexIdentifier (array $result, $fieldName) | |
getPageTsOfFlex (array $result, $fieldName, $flexIdentifier) | |
modifyOuterDataStructure (array $result, $fieldName, $pageTsConfig) | |
removeExcludeFieldsFromDataStructure (array $result, $fieldName, $flexIdentifier) | |
removeDisabledFieldsFromDataStructure (array $result, $fieldName, $pageTsConfig) | |
modifySingleSheetInformation (array $dataStructure, array $pageTsOfSheet) | |
getBackendUser () | |
Process data structures and data values, calculate defaults.
This is typically the last provider, executed after TcaFlexPrepare
Definition at line 28 of file TcaFlexProcess.php.
addData | ( | array | $result | ) |
Determine possible pageTsConfig overrides and apply them to ds. Determine available languages and sanitize dv for further processing. Then kick and validate further details like excluded fields. Finally for each possible value and ds call FormDataCompiler with set FlexFormSegment group to resolve single field stuff like item processor functions.
array | $result |
Implements FormDataProviderInterface.
Definition at line 40 of file TcaFlexProcess.php.
References TcaFlexProcess\getFlexIdentifier(), TcaFlexProcess\getPageTsOfFlex(), TcaFlexProcess\modifyOuterDataStructure(), TcaFlexProcess\removeDisabledFieldsFromDataStructure(), and TcaFlexProcess\removeExcludeFieldsFromDataStructure().
|
protected |
Definition at line 533 of file TcaFlexProcess.php.
References $GLOBALS.
Referenced by TcaFlexProcess\removeExcludeFieldsFromDataStructure().
|
protected |
Take care of ds_pointerField and friends to determine the correct sub array within TCA config ds.
Gets extension identifier. Use second pointer field if it's value is not empty, "list" or "*", else it must be a plugin and first one will be used. This code basically determines the sub key of ds field: config = array( ds => array( 'aFlexConfig' => '<flexXml ... ^^^^^^^^^^^ $flexformIdentifier contains "aFlexConfig" after this operation.
: This method is only implemented half. It basically should do all the
: pointer handling that is done within BackendUtility::getFlexFormDS() to $srcPointer.
array | $result | Result array |
string | $fieldName | Current handle field name |
Definition at line 78 of file TcaFlexProcess.php.
References GeneralUtility\trimExplode().
Referenced by TcaFlexProcess\addData().
|
protected |
Determine TCEFORM.aTable.aField.matchingIdentifier
array | $result | Result array |
string | $fieldName | Handled field name |
string | $flexIdentifier | Determined identifier |
Definition at line 108 of file TcaFlexProcess.php.
Referenced by TcaFlexProcess\addData().
|
protected |
Handle "outer" flex data structure changes like language and sheet description. Does not change "TCA" or values of single elements
array | $result | Result array |
string | $fieldName | Current handle field name |
array | $pageTsConfig | Given pageTsConfig of this flex form |
Definition at line 128 of file TcaFlexProcess.php.
References TcaFlexProcess\modifySingleSheetInformation().
Referenced by TcaFlexProcess\addData().
|
protected |
Modify data structure of a single "sheet" Sets "secondary" data like sheet names and so on, but does NOT modify single elements
array | $dataStructure | Given data structure |
array | $pageTsOfSheet | Page Ts config of given field |
Definition at line 507 of file TcaFlexProcess.php.
Referenced by TcaFlexProcess\modifyOuterDataStructure().
|
protected |
Remove fields from data structure that are disabled in pageTsConfig.
array | $result | Result array |
string | $fieldName | Current handle field name |
array | $pageTsConfig | Given pageTsConfig of this flex form |
Definition at line 204 of file TcaFlexProcess.php.
Referenced by TcaFlexProcess\addData().
|
protected |
Removes fields from data structure the user has no access to
array | $result | Result array |
string | $fieldName | Current handle field name |
string | $flexIdentifier | Determined identifier |
Definition at line 163 of file TcaFlexProcess.php.
References TcaFlexProcess\getBackendUser(), and GeneralUtility\trimExplode().
Referenced by TcaFlexProcess\addData().