TYPO3
7.6
|
Public Member Functions | |
mergeResult (array $resultArray) | |
JStop () | |
printNeededJSFunctions () | |
Protected Member Functions | |
JSbottom ($formname= 'forms[0]') | |
loadJavascriptLib ($lib) | |
getBackendUserAuthentication () | |
getLanguageService () | |
getPageRenderer () | |
Protected Attributes | |
$extJSCODE = '' | |
$hiddenFieldAccum = array() | |
$doSaveFieldName = '' | |
$inlineData = array() | |
$stylesheetFiles = [] | |
$additionalJS_post = array() | |
$additionalJS_submit = array() | |
$requireJsModules = array() | |
$pageRenderer = null | |
This is form engine - Class for creating the backend editing forms.
Definition at line 30 of file FormResultCompiler.php.
|
protected |
Definition at line 322 of file FormResultCompiler.php.
References $GLOBALS.
Referenced by FormResultCompiler\JSbottom().
|
protected |
Definition at line 330 of file FormResultCompiler.php.
References $GLOBALS.
Referenced by FormResultCompiler\JSbottom().
|
protected |
Wrapper for access to the current page renderer object
Definition at line 340 of file FormResultCompiler.php.
References FormResultCompiler\$pageRenderer, and GeneralUtility\makeInstance().
Referenced by FormResultCompiler\JSbottom(), FormResultCompiler\loadJavascriptLib(), and FormResultCompiler\printNeededJSFunctions().
|
protected |
JavaScript bottom code
string | $formname | The identification of the form on the page. |
Definition at line 193 of file FormResultCompiler.php.
References FormResultCompiler\$additionalJS_submit, FormResultCompiler\$extJSCODE, $GLOBALS, FormResultCompiler\$pageRenderer, GeneralUtility\clientInfo(), ExtensionManagementUtility\extPath(), FormResultCompiler\getBackendUserAuthentication(), FormResultCompiler\getLanguageService(), BackendUtility\getNoRecordTitle(), FormResultCompiler\getPageRenderer(), ExtensionManagementUtility\isLoaded(), FormResultCompiler\loadJavascriptLib(), GeneralUtility\quoteJSvalue(), and GeneralUtility\wrapJS().
Referenced by FormResultCompiler\printNeededJSFunctions().
JStop | ( | ) |
JavaScript code added BEFORE the form is drawn:
Definition at line 161 of file FormResultCompiler.php.
|
protected |
Includes a javascript library that exists in the core /typo3/ directory. The backpath is automatically applied.
string | $lib | Library name. Call it with the full path like "sysext/core/Resources/Public/JavaScript/QueryGenerator.js" to load it |
Definition at line 313 of file FormResultCompiler.php.
References FormResultCompiler\$pageRenderer, and FormResultCompiler\getPageRenderer().
Referenced by FormResultCompiler\JSbottom().
mergeResult | ( | array | $resultArray | ) |
Merge existing data with the given result array
array | $resultArray | Array returned by child |
Definition at line 98 of file FormResultCompiler.php.
References FormResultCompiler\$inlineData, elseif, and ArrayUtility\mergeRecursiveWithOverrule().
printNeededJSFunctions | ( | ) |
Prints necessary JavaScript for TCEforms (after the form HTML). currently this is used to transform page-specific options in the TYPO3.Settings array for JS so the JS module can access these values
Definition at line 177 of file FormResultCompiler.php.
References FormResultCompiler\$pageRenderer, FormResultCompiler\getPageRenderer(), and FormResultCompiler\JSbottom().
|
protected |
Definition at line 68 of file FormResultCompiler.php.
|
protected |
Definition at line 76 of file FormResultCompiler.php.
Referenced by FormResultCompiler\JSbottom().
|
protected |
Definition at line 49 of file FormResultCompiler.php.
|
protected |
Definition at line 35 of file FormResultCompiler.php.
Referenced by FormResultCompiler\JSbottom().
|
protected |
Definition at line 40 of file FormResultCompiler.php.
|
protected |
Definition at line 54 of file FormResultCompiler.php.
Referenced by FormResultCompiler\mergeResult().
|
protected |
Definition at line 89 of file FormResultCompiler.php.
Referenced by FormResultCompiler\getPageRenderer(), FormResultCompiler\JSbottom(), FormResultCompiler\loadJavascriptLib(), and FormResultCompiler\printNeededJSFunctions().
|
protected |
Definition at line 84 of file FormResultCompiler.php.
|
protected |
Definition at line 61 of file FormResultCompiler.php.