projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #4999 from totten/master-autosave
[civicrm-core.git]
/
Civi
/
CiUtil
/
ComparisonPrinter.php
diff --git
a/Civi/CiUtil/ComparisonPrinter.php
b/Civi/CiUtil/ComparisonPrinter.php
index 60f5f2cb8173880a4c0cc9dbac0f5e275a9563bc..bb75ad68ac841430af5dc21597126899b8f79970 100644
(file)
--- a/
Civi/CiUtil/ComparisonPrinter.php
+++ b/
Civi/CiUtil/ComparisonPrinter.php
@@
-5,11
+5,11
@@
class ComparisonPrinter {
var $headers;
var $hasHeader = FALSE;
var $headers;
var $hasHeader = FALSE;
- function __construct($headers) {
+
public
function __construct($headers) {
$this->headers = $headers;
}
$this->headers = $headers;
}
- function printHeader() {
+
public
function printHeader() {
if ($this->hasHeader) {
return;
}
if ($this->hasHeader) {
return;
}
@@
-35,7
+35,7
@@
class ComparisonPrinter {
$this->hasHeader = TRUE;
}
$this->hasHeader = TRUE;
}
- function printRow($test, $values) {
+
public
function printRow($test, $values) {
$this->printHeader();
printf("%-90s ", $test);
foreach ($values as $value) {
$this->printHeader();
printf("%-90s ", $test);
foreach ($values as $value) {
@@
-43,4
+43,5
@@
class ComparisonPrinter {
}
print "\n";
}
}
print "\n";
}
-}
\ No newline at end of file
+
+}