TYPO3
7.6
|
Public Member Functions | |
init () | |
menuConfig () | |
main () | |
mainAction (ServerRequestInterface $request, ResponseInterface $response) | |
Public Member Functions inherited from BaseScriptClass | |
init () | |
menuConfig () | |
mergeExternalItems ($modName, $menuKey, $menuArr) | |
handleExternalFunctionValue ($MM_key= 'function', $MS_value=null) | |
getExternalItemConfig ($modName, $menuKey, $value= '') | |
checkExtObj () | |
checkSubExtObj () | |
extObjHeader () | |
extObjContent () | |
Protected Member Functions | |
printSqlCheck () | |
createFieldsValuesArray ($in) | |
printCachedInfo () | |
printLogMgm () | |
generateMenu () | |
getLanguageService () | |
getDatabaseConnection () | |
Protected Member Functions inherited from BaseScriptClass | |
getLanguageService () | |
getBackendUser () | |
getDatabaseConnection () | |
getPageRenderer () | |
Protected Attributes | |
$thisScript | |
$moduleName = 'tools_txdbalM1' | |
$moduleTemplate | |
Protected Attributes inherited from BaseScriptClass | |
$pageRenderer = null | |
Additional Inherited Members | |
Public Attributes inherited from BaseScriptClass | |
$MCONF = array() | |
$id | |
$CMD | |
$perms_clause | |
$MOD_MENU | |
$MOD_SETTINGS = array() | |
$modTSconfig | |
$modMenu_type = '' | |
$modMenu_dontValidateList = '' | |
$modMenu_setDefaultList = '' | |
$extClassConf | |
$content = '' | |
$doc | |
$extObj | |
Script class; Backend module for DBAL extension
Definition at line 28 of file dbal/Classes/Controller/ModuleController.php.
|
protected |
Parses a very simple text format into an array.
Each line is seen as a key/value pair that is exploded at =. This is used in the simple SQL check to input values for INSERT and UPDATE statements.
string | $in | String to parse into key/value array. |
Definition at line 302 of file dbal/Classes/Controller/ModuleController.php.
|
protected |
Generate the ModuleMenu
Definition at line 602 of file dbal/Classes/Controller/ModuleController.php.
Referenced by ModuleController\main().
|
protected |
Returns the DatabaseConnection
Definition at line 644 of file dbal/Classes/Controller/ModuleController.php.
References $GLOBALS.
|
protected |
Returns the language service.
Definition at line 634 of file dbal/Classes/Controller/ModuleController.php.
References $GLOBALS.
Referenced by ModuleController\init(), ModuleController\main(), and ModuleController\menuConfig().
init | ( | ) |
Initializes this module.
Definition at line 54 of file dbal/Classes/Controller/ModuleController.php.
References ModuleController\getLanguageService(), and GeneralUtility\makeInstance().
Referenced by ModuleController\mainAction().
main | ( | ) |
Main function of the module. Write the content to $this->content
Definition at line 87 of file dbal/Classes/Controller/ModuleController.php.
References GeneralUtility\_GP(), ModuleController\generateMenu(), ModuleController\getLanguageService(), BackendUtility\getModuleData(), ModuleController\printCachedInfo(), ModuleController\printLogMgm(), and ModuleController\printSqlCheck().
Referenced by ModuleController\mainAction().
mainAction | ( | ServerRequestInterface | $request, |
ResponseInterface | $response | ||
) |
Injects the request object for the current request or subrequest As this controller goes only through the main() method, it is rather simple for now
ServerRequestInterface | $request | the current request |
ResponseInterface | $response |
Definition at line 135 of file dbal/Classes/Controller/ModuleController.php.
References $GLOBALS, $response, MessageInterface\getBody(), ModuleController\init(), and ModuleController\main().
menuConfig | ( | ) |
Adds items to the ->MOD_MENU array. Used for the function menu selector.
Definition at line 69 of file dbal/Classes/Controller/ModuleController.php.
References ModuleController\getLanguageService().
|
protected |
Prints out the cached information about the database.
The DBAL caches a lot of information, e.g. about auto increment fields, field types and primary keys. This method formats all this into a HTML table to display in the BE.
Definition at line 322 of file dbal/Classes/Controller/ModuleController.php.
Referenced by ModuleController\main().
|
protected |
Printing the debug-log from the DBAL extension
To enabled debugging, you will have to enabled it in the configuration!
Definition at line 410 of file dbal/Classes/Controller/ModuleController.php.
References $GLOBALS, GeneralUtility\_GP(), BackendUtility\datetime(), and GeneralUtility\linkThisScript().
Referenced by ModuleController\main().
|
protected |
Displays a form to check DBAL SQL methods and parse raw SQL.
Definition at line 150 of file dbal/Classes/Controller/ModuleController.php.
References GeneralUtility\_GP().
Referenced by ModuleController\main().
|
protected |
Definition at line 40 of file dbal/Classes/Controller/ModuleController.php.
|
protected |
Definition at line 47 of file dbal/Classes/Controller/ModuleController.php.
|
protected |
Definition at line 33 of file dbal/Classes/Controller/ModuleController.php.