/** * $Id: Utils.class.php 968 2008-07-29 10:47:29Z dakl $ * * Copyright (c) 2002-2008 Formix www.formix.pl * Ten plik �r�d�owy jest w�asno�ci� firmy Formix. * * Klasa statyczna z funkcjami pomocniczymi * */ class Utils { public function __construct() { } /** * Funkcja do wyświetlania tablic asocjacyjnych, obiektów itd. * Zastępuje funkcje array_display * * @param array, object $p_array Tablica lub obiekt do wyświetlenia */ public static function ArrayDisplay($p_array) { print "
"; print_r($p_array); print "
TABLICA JEST PUSTA
\n"); } else { print("
| ".$array_name." | |
|---|---|
| ".substr(gettype($key),0,3).">".str_replace(" "," ",$key)."<".(is_object($array_name) ? 'b.d.' : count($array_name[$key]))." | "); Utils::ArrayDisplayOld($value); print (" |
| ".substr(gettype($key),0,3).">".str_replace(" "," ",$key)."<"); print(" | ".substr(gettype($value),0,3).">".str_replace(" "," ",$value)."< |