Public Member Functions | |
| & | getCurrentCodeVersion () |
| & | getCurrentDBVersion () |
| & | getLatestVersion () |
| getPatch (&$versionInfo, $codeVersion=null) | |
| getVersionCheckUrl () | |
| & | parseVersionXML ($url) |
Definition at line 25 of file VersionCheck.inc.php.
| & VersionCheck.getCurrentCodeVersion | ( | ) |
Return the current code version.
Definition at line 50 of file VersionCheck.inc.php.
References parseVersionXML().
Referenced by upgradeTool.checkVersion(), UpgradeForm.display(), InstallForm.display(), and getPatch().
| & VersionCheck.getCurrentDBVersion | ( | ) |
Return the currently installed database version.
Definition at line 40 of file VersionCheck.inc.php.
References DAORegistry.getDAO().
Referenced by upgradeTool.checkVersion().
| & VersionCheck.getLatestVersion | ( | ) |
Return information about the latest available version.
Definition at line 31 of file VersionCheck.inc.php.
References parseVersionXML().
Referenced by upgradeTool.check(), upgradeTool.download(), upgradeTool.latest(), upgradeTool.patch(), and AdminFunctionsHandler.systemInfo().
| VersionCheck.getPatch | ( | &$ | versionInfo, | |
| $ | codeVersion = null | |||
| ) |
Find the applicable patch for the current code version (if available).
| $versionInfo | array as returned by parseVersionXML() | |
| $codeVersion | as returned by getCurrentCodeVersion() |
Definition at line 97 of file VersionCheck.inc.php.
References getCurrentCodeVersion().
Referenced by upgradeTool.checkVersion(), upgradeTool.download(), upgradeTool.patch(), and AdminFunctionsHandler.systemInfo().
| VersionCheck.getVersionCheckUrl | ( | ) |
Return URL to the remote version check script.
Definition at line 111 of file VersionCheck.inc.php.
Referenced by upgradeTool.checkVersion(), and upgradeTool.download().
| & VersionCheck.parseVersionXML | ( | $ | url | ) |
Parse information from a version XML file.
Definition at line 64 of file VersionCheck.inc.php.
References Version.fromString().
Referenced by getCurrentCodeVersion(), and getLatestVersion().
1.5.6