![]() |
TYPO3
7.6
|
Protected Member Functions | |
compileCombinationChild (array $intermediate, array $parentConfig, array $inlineStructure) | |
mergeChildResultIntoJsonResult (array $jsonResult, array $childResult) | |
getInlineRelatedRecordsUidArray ($itemList) | |
checkInlineFileTypeAccessForField (array $selectorConfiguration, array $fileRecord) | |
getInlineExpandCollapseStateArrayForTableUid ($table, $uid) | |
getInlineExpandCollapseStateArray () | |
removeFromArray ($needle, $haystack, $strict=null) | |
getErrorMessageForAJAX ($message) | |
getInlineFirstPidFromDomObjectId ($domObjectId) | |
getBackendUserAuthentication () | |
getParentConfigFromFlexForm (array $parentConfig, $domObjectId) | |
Handle FormEngine inline ajax calls
Definition at line 32 of file FormInlineAjaxController.php.
|
protected |
Checks if a record selector may select a certain file type
array | $selectorConfiguration | |
array | $fileRecord |
Definition at line 639 of file FormInlineAjaxController.php.
References GeneralUtility\trimExplode().
|
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" |
array | $inlineStructure | Current inline structure |
Definition at line 548 of file FormInlineAjaxController.php.
|
protected |
Definition at line 742 of file FormInlineAjaxController.php.
References $GLOBALS.
Referenced by FormInlineAjaxController\getInlineExpandCollapseStateArray().
|
protected |
Generates an error message that transferred as JSON for AJAX calls
string | $message | The error message to be shown |
Definition at line 711 of file FormInlineAjaxController.php.
|
protected |
Get expand / collapse state of inline items
Definition at line 678 of file FormInlineAjaxController.php.
References FormInlineAjaxController\getBackendUserAuthentication().
Referenced by FormInlineAjaxController\getInlineExpandCollapseStateArrayForTableUid().
|
protected |
Return expand / collapse state array for a given table / uid combination
string | $table | Handled table |
int | $uid | Handled uid |
Definition at line 661 of file FormInlineAjaxController.php.
References MathUtility\canBeInterpretedAsInteger(), and FormInlineAjaxController\getInlineExpandCollapseStateArray().
|
protected |
Get inlineFirstPid from a given objectId string
string | $domObjectId | The id attribute of an element |
Definition at line 727 of file FormInlineAjaxController.php.
|
protected |
Gets an array with the uids of related records out of a list of items. This list could contain more information than required. This methods just extracts the uids.
string | $itemList | The list of related child records |
Definition at line 619 of file FormInlineAjaxController.php.
References GeneralUtility\trimExplode().
|
protected |
Extract the inline child table configuration from the flexform data structure using the the domObjectId to traverse the XML structure.
domObjectId parsing has been copied from InlineStackProcessor::initializeByDomObjectId
array | $parentConfig | |
string | $domObjectId |
Definition at line 757 of file FormInlineAjaxController.php.
References GeneralUtility\trimExplode().
|
protected |
Merge stuff from child array into json array. This method is needed since ajax handling methods currently need to put scriptCalls before and after child code.
array | $jsonResult | Given json result |
array | $childResult | Given child result |
Definition at line 564 of file FormInlineAjaxController.php.
References elseif.
|
protected |
Remove an element from an array.
mixed | $needle | The element to be removed. |
array | $haystack | The array the element should be removed from. |
mixed | $strict | Search elements strictly. |
Definition at line 696 of file FormInlineAjaxController.php.