Location: PHPKode > projects > Online Last.FM Player > class/console.class.php
<?php

class lcs_console {
	var $output;
	
	function lcs_console ($start = '') {
		if ( $start != '' && is_array($start) ) {
			$this->output = $start;
		}
		else {
			$this->output = array();
			$this->output['num'] = 0;
		}
	}
	
	function message ($msg) {
		$this->output[$this->output['num']]['date'] = date('H:i:s');
		$this->output[$this->output['num']]['test'] = $msg;
		$this->output['num']++;
	}
}

?>
Return current item: Online Last.FM Player