Created
February 14, 2012 21:16
-
-
Save mipmip/1830519 to your computer and use it in GitHub Desktop.
TYPO3: some db debug methods
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function debugDatabase() | |
{ | |
$GLOBALS['TYPO3_DB']->store_lastBuiltQuery = true; | |
$GLOBALS['TYPO3_DB']->debugOutput = true; | |
debug($GLOBALS['TYPO3_DB']->debug_lastBuiltQuery); | |
t3lib_div::devLog('dbgdb','p3ga',0,array($GLOBALS['TYPO3_DB']->debug_lastBuiltQuery)); | |
} | |
#devlog | |
t3lib_div::devLog('array_name','extKey',0,array(dataVar)); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment