var $headers;
var $hasHeader = FALSE;
- function __construct($headers) {
+ public function __construct($headers) {
$this->headers = $headers;
}
- function printHeader() {
+ public function printHeader() {
if ($this->hasHeader) {
return;
}
$this->hasHeader = TRUE;
}
- function printRow($test, $values) {
+ public function printRow($test, $values) {
$this->printHeader();
printf("%-90s ", $test);
foreach ($values as $value) {
}
print "\n";
}
-}
\ No newline at end of file
+
+}