content)) { $this->content = Array(); } array_push($this->content, $lineStr); } function set($typeStr) { $this->type = $typeStr; } function show(){ if(!empty($this->content)) { $htmlOutput = '
'; if(!$this->header) { if(strtolower($this->type) == 'error') { $htmlOutput .= 'Please review and correct following errors:
'; return $htmlOutput; } } function status() { if(!empty($this->content)) { return 1; } else { return 0; } } function flush() { unset($this->content); } function halt() { if($this->halt == '1') { $this->halt = 0; } else { $this->halt = 1; } } } ?>