TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Dbal\Controller\ModuleController Class Reference
Inheritance diagram for TYPO3\CMS\Dbal\Controller\ModuleController:
TYPO3\CMS\Backend\Module\BaseScriptClass tx_dbal_module1

Public Member Functions

 menuConfig ()
 
 main ()
 
 printContent ()
 
- Public Member Functions inherited from TYPO3\CMS\Backend\Module\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 ()
 
- Protected Member Functions inherited from TYPO3\CMS\Backend\Module\BaseScriptClass
 getLanguageService ()
 
 getBackendUser ()
 

Protected Attributes

 $thisScript
 

Additional Inherited Members

- Public Attributes inherited from TYPO3\CMS\Backend\Module\BaseScriptClass
 $MCONF = array()
 
 $id
 
 $CMD
 
 $perms_clause
 
 $MOD_MENU
 
 $MOD_SETTINGS = array()
 
 $modTSconfig
 
 $modMenu_type = ''
 
 $modMenu_dontValidateList = ''
 
 $modMenu_setDefaultList = ''
 
 $extClassConf
 
 $include_once = array()
 
 $content = ''
 
 $doc
 
 $extObj
 

Detailed Description

Script class; Backend module for DBAL extension

Author
Kasper Skårhøj kaspe.nosp@m.r@ty.nosp@m.po3.c.nosp@m.om
Karsten Dambekalns karst.nosp@m.en@t.nosp@m.ypo3..nosp@m.org

Definition at line 25 of file ModuleController.php.

Member Function Documentation

◆ createFieldsValuesArray()

TYPO3\CMS\Dbal\Controller\ModuleController::createFieldsValuesArray (   $in)
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.

Parameters
string$inString to parse into key/value array.
Returns
array Array created from the input string.

Definition at line 238 of file ModuleController.php.

◆ main()

◆ menuConfig()

TYPO3\CMS\Dbal\Controller\ModuleController::menuConfig ( )

Adds items to the ->MOD_MENU array. Used for the function menu selector.

Returns
void

Definition at line 37 of file ModuleController.php.

References $GLOBALS.

◆ printCachedInfo()

TYPO3\CMS\Dbal\Controller\ModuleController::printCachedInfo ( )
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.

Returns
string HTML output

Definition at line 257 of file ModuleController.php.

Referenced by TYPO3\CMS\Dbal\Controller\ModuleController\main().

◆ printContent()

TYPO3\CMS\Dbal\Controller\ModuleController::printContent ( )

Prints out the module HTML

Returns
string HTML output

Definition at line 90 of file ModuleController.php.

References TYPO3\CMS\Backend\Module\BaseScriptClass\$content.

◆ printLogMgm()

TYPO3\CMS\Dbal\Controller\ModuleController::printLogMgm ( )
protected

Printing the debug-log from the DBAL extension

To enabled debugging, you will have to enabled it in the configuration!

Returns
string HTML content

Definition at line 335 of file ModuleController.php.

Referenced by TYPO3\CMS\Dbal\Controller\ModuleController\main().

◆ printSqlCheck()

TYPO3\CMS\Dbal\Controller\ModuleController::printSqlCheck ( )
protected

Displays a form to check DBAL SQL methods and parse raw SQL.

Returns
string HTML output

Definition at line 100 of file ModuleController.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\_GP().

Referenced by TYPO3\CMS\Dbal\Controller\ModuleController\main().

Member Data Documentation

◆ $thisScript

TYPO3\CMS\Dbal\Controller\ModuleController::$thisScript
protected

Definition at line 30 of file ModuleController.php.