TYPO3
7.6
|
Static Public Member Functions | |
static | debug ($var= '', $header= '', $group= 'Debug') |
static | convertVariableToString ($variable) |
static | debugInPopUpWindow ($debugVariable, $header= 'Debug', $group= 'Debug') |
static | debugTrail () |
static | debugRows ($rows, $header= '', $returnHTML=false) |
static | ordinalValue ($string, $characters=100) |
static | viewArray ($array_in) |
static | printArray ($array_in) |
Class to handle debug
Definition at line 21 of file DebugUtility.php.
|
static |
Converts a variable to a string
mixed | $variable |
Definition at line 67 of file DebugUtility.php.
References elseif.
|
static |
Debug
string | $var | |
string | $header | |
string | $group |
Definition at line 31 of file DebugUtility.php.
References GeneralUtility\quoteJSvalue(), and GeneralUtility\wrapJS().
Referenced by GeneralUtility\deprecationLog().
|
static |
Opens a debug message inside a popup window
mixed | $debugVariable | |
string | $header | |
string | $group |
Definition at line 88 of file DebugUtility.php.
References GeneralUtility\quoteJSvalue(), and GeneralUtility\wrapJS().
|
static |
Displays an array as rows in a table. Useful to debug output like an array of database records.
mixed | $rows | Array of arrays with similar keys |
string | $header | Table header |
bool | $returnHTML | If TRUE, will return content instead of echo'ing out. Deprecated since TYPO3 CMS 7, will be removed in TYPO3 CMS 8 |
Definition at line 158 of file DebugUtility.php.
References debug(), GeneralUtility\deprecationLog(), and DebuggerUtility\var_dump().
|
static |
Displays the "path" of the function call stack in a string, using debug_backtrace
Definition at line 133 of file DebugUtility.php.
References PathUtility\stripPathSitePrefix().
Referenced by GeneralUtility\logDeprecatedFunction().
|
static |
Returns a string with a list of ascii-values for the first $characters characters in $string
string | $string | String to show ASCII value for |
int | $characters | Number of characters to show |
Definition at line 173 of file DebugUtility.php.
|
static |
Prints an array
mixed | $array_in | Array to print visually (in a table). |
Definition at line 205 of file DebugUtility.php.
|
static |
Returns HTML-code, which is a visual representation of a multidimensional array use ::print_array() in order to print an array Returns FALSE if $array_in is not an array
mixed | $array_in | Array to view |
Definition at line 193 of file DebugUtility.php.
References DebuggerUtility\var_dump().
Referenced by ContentObjectRenderer\getData(), and GeneralUtility\makeInstanceService().