classes/reporter.php
public function add($line, $nlBefore = 0, $nlAfter = 0) {
		$output = str_repeat("\n", $nlBefore).$line.str_repeat("\n", $nlAfter);
		if (fwrite($this->file, $output) === false) {
			die("There was an error attempting to write to the report file.\n".$this->fullFilePath."\n");
		}
	}
public function add($line, $nlBefore = 0, $nlAfter = 0) {
		$output = str_repeat("\n", $nlBefore).$line.str_repeat("\n", $nlAfter);
		if (fwrite($this->file, $output) === false) {
			die("There was an error attempting to write to the report file.\n".$this->fullFilePath."\n");
		}
	}
public function add ( $ line , $ nlBefore = 0 , $ nlAfter = 0 ) { $ output = str_repeat ( "\n" , $ nlBefore ) . $ line . str_repeat ( "\n" , $ nlAfter ) ; if ( fwrite ( $ this -> file , $ output ) === false ) { die ( "There was an error attempting to write to the report file.\n" . $ this -> fullFilePath . "\n" ) ; } }
Add a new line to the report.

@access	public
@param	string	Line of text to add to the buffer.
@param	integer Number of new line characters to add before the line.
@param	integer Number of new line characters to add after the line.
@param	string	Line of text to add to the buffer.
@return	void
Add a new line to the report .