TYPO3
7.6
|
Public Member Functions | |
addData (array $result) | |
Protected Member Functions | |
addInlineFirstPid (array $result) | |
resolveRelatedRecords (array $result, $fieldName) | |
compileCombinationChild (array $intermediate, array $parentConfig) | |
getWorkspacedUids (array $connectedUids, $childTableName) | |
getLiveDefaultId ($tableName, $uid) | |
getBackendUser () | |
Protected Member Functions inherited from AbstractDatabaseRecordProvider | |
getRecordFromDatabase ($tableName, $uid) | |
getDatabase () | |
Resolve and prepare inline data.
Definition at line 31 of file TcaInline.php.
addData | ( | array | $result | ) |
Resolve inline fields
array | $result |
Implements FormDataProviderInterface.
Definition at line 39 of file TcaInline.php.
References TcaInline\addInlineFirstPid(), and TcaInline\resolveRelatedRecords().
|
protected |
The "entry" pid for inline records. Nested inline records can potentially hang around on different pid's, but the entry pid is needed for AJAX calls, so that they would know where the action takes place on the page structure.
array | $result | Incoming result |
Definition at line 65 of file TcaInline.php.
References elseif, BackendUtility\getLiveVersionIdOfRecord(), and BackendUtility\getRecord().
Referenced by TcaInline\addData().
|
protected |
With useCombination set, not only content of the intermediate table, but also the connected child should be rendered in one go. Prepare this here.
array | $intermediate | Full data array of "mm" record |
array | $parentConfig | TCA configuration of "parent" |
Definition at line 311 of file TcaInline.php.
|
protected |
Definition at line 405 of file TcaInline.php.
References $GLOBALS.
Referenced by TcaInline\getWorkspacedUids().
|
protected |
Gets the record uid of the live default record. If already pointing to the live record, the submitted record uid is returned.
string | $tableName | |
int | $uid |
Definition at line 393 of file TcaInline.php.
References BackendUtility\getLiveVersionIdOfRecord().
|
protected |
Substitute given list of uids in child table with workspace uid if needed
array | $connectedUids | List of connected uids |
string | $childTableName | Name of child table |
Definition at line 326 of file TcaInline.php.
References Enumeration\cast(), VersionState\DELETE_PLACEHOLDER, TcaInline\getBackendUser(), BackendUtility\getWorkspaceVersionOfRecord(), and BackendUtility\isTableWorkspaceEnabled().
Referenced by TcaInline\resolveRelatedRecords().
|
protected |
Substitute the value in databaseRow of this inline field with an array that contains the databaseRows of currently connected records and some meta information.
array | $result | Result array |
string | $fieldName | Current handle field name |
Definition at line 93 of file TcaInline.php.
References $GLOBALS, elseif, AbstractDatabaseRecordProvider\getRecordFromDatabase(), and TcaInline\getWorkspacedUids().
Referenced by TcaInline\addData().