FusionDirectory
|
print_a class and helper function prints out an array in a more readable way than print_r() More...
Public Member Functions | |
__construct () | |
printAClass constructor | |
print_a ($array, $iteration=FALSE, $key_bg_color=FALSE) | |
print_a class and helper function prints out an array in a more readable way than print_r()
based on the print_a() function from Stephan Pirson (Saibot)
Definition at line 43 of file functions_debug.inc.
print_a | ( | $array, | |
$iteration = FALSE , |
|||
$key_bg_color = FALSE |
|||
) |
recursive function! if print_a() was called with a fourth parameter (1 or 2) and you click on the table a window opens with only the output of print_a() in it 1 = serialized array 2 = normal print_a() display
put the following code on the page defined with $export_dumper_path; —>%-— snip —>%-— if($_GET['mode'] == 1) { print htmlspecialchars( stripslashes ( $_POST['array'] ) ); } elseif($_GET['mode'] == 2) { print_a(unserialize( stripslashes($_POST['array'])) ); } —%<-— snip —%<-—
array | $array | |
boolean | $iteration | false |
boolean | $key_bg_color | false |
Definition at line 95 of file functions_debug.inc.