You are here

public function dba_report_version::__toString in Database Administration 7

1 call to dba_report_version::__toString()
dba_report_version::compare_version in ./dba.report.inc

File

./dba.report.inc, line 173

Class

dba_report_version
Class for comparing version.

Code

public function __toString() {
  return sprintf('%02d%02d%02d', $this->major, $this->minor, $this->patch);
}