Static Public Member Functions | |
| static | get_dbversion () |
| static | get_apiversion () |
| static | get_habariversion () |
| static | is_devel () |
| static | save_dbversion () |
| static | requires_upgrade () |
| static | get_svn_revision () |
Public Attributes | |
| const | DB_VERSION = 5097 |
| const | API_VERSION = 4955 |
| const | HABARI_VERSION = '0.8-alpha' |
| const | HABARI_SVN_HEAD_URL = '$HeadURL: http://svn.habariproject.org/habari/trunk/htdocs/system/classes/version.php $' |
| const | HABARI_SVN_REV = '$Revision: 5142 $' |
Base class for managing metadata about various Habari objects
Definition at line 13 of file version.php.
| static Version::get_apiversion | ( | ) | [static] |
Get the API version
Definition at line 42 of file version.php.
Referenced by AdminHandler::get_sysinfo().
| static Version::get_dbversion | ( | ) | [static] |
Get the database version
Definition at line 32 of file version.php.
Referenced by AdminHandler::get_sysinfo().
| static Version::get_habariversion | ( | ) | [static] |
Get the Habari version
Definition at line 53 of file version.php.
Referenced by AtomHandler::create_atom_wrapper(), Themes::get_all_data(), and AdminHandler::get_sysinfo().
| static Version::get_svn_revision | ( | ) | [static] |
Attempt to return the checkout revision number of the source tree
Definition at line 94 of file version.php.
Referenced by AdminHandler::get_sysinfo().
| static Version::is_devel | ( | ) | [static] |
Determine whether this working copy or export was created from a subversion development branch
Definition at line 63 of file version.php.
Referenced by AdminHandler::get_sysinfo().
| static Version::requires_upgrade | ( | ) | [static] |
Determine if the database needs to be updated based on the source database version being newer than the schema last applied to the database
Definition at line 81 of file version.php.
| static Version::save_dbversion | ( | ) | [static] |
Store the current database version in the options table
Definition at line 71 of file version.php.
Referenced by InstallHandler::upgrade_db().
1.7.1