Location: PHPKode > scripts > PAX > pax/core/utils/Debug.class.php
<?php

/**
 * Debug class.
 * Used only in development activities.
 *
 */
class Debug
{	 
	public static final function write()
	{
		$enabled = true;
		
		$what = func_get_args();
		
		if ($enabled && (sizeof($what) > 0))
		{
			for ($i = 0; $i < sizeof($what); $i++)
			{
				echo "<pre>";
				print_r(func_get_arg($i));
				echo "</pre>";
			}				
		}
	}
}


?>
Return current item: PAX