ILIAS
Release_3_10_x_branch Revision 61812
|
Database Update class. More...
Public Member Functions | |
ilPluginDBUpdate ($a_ctype, $a_cname, $a_slot_id, $a_pname, $a_db_handler, $tmp_flag, $a_db_prefix) | |
constructor | |
getFileForStep ($a_version) | |
Get db update file name for db step. | |
_DBUpdate () | |
destructor | |
getCurrentVersion () | |
Get current DB version. | |
setCurrentVersion ($a_version) | |
Set current DB version. | |
loadXMLInfo () | |
checkQuery ($q) | |
This is a very simple check. | |
Public Member Functions inherited from ilDBUpdate | |
ilDBUpdate ($a_db_handler=0, $tmp_flag=false) | |
constructor | |
readDBUpdateFile () | |
readLastUpdateFile () | |
readFileVersion () | |
getFileVersion () | |
Get Version of file. | |
execQuery ($db, $str) | |
execute a query | |
applyUpdate () | |
Apply update. | |
applyUpdateNr ($nr) | |
apply an update | |
getDBVersionStatus () | |
getTables () | |
getTableStatus ($table) | |
optimizeTables ($tables) |
Additional Inherited Members | |
Data Fields inherited from ilDBUpdate | |
$DB_UPDATE_FILE | |
db update file | |
$currentVersion | |
$fileVersion |
Database Update class.
Definition at line 32 of file class.ilPluginDBUpdate.php.
ilPluginDBUpdate::_DBUpdate | ( | ) |
destructor
Reimplemented from ilDBUpdate.
Definition at line 107 of file class.ilPluginDBUpdate.php.
ilPluginDBUpdate::checkQuery | ( | $q | ) |
This is a very simple check.
Could be done better.
Reimplemented from ilDBUpdate.
Definition at line 155 of file class.ilPluginDBUpdate.php.
ilPluginDBUpdate::getCurrentVersion | ( | ) |
Get current DB version.
Reimplemented from ilDBUpdate.
Definition at line 116 of file class.ilPluginDBUpdate.php.
References ilDBUpdate\$currentVersion, and DB_FETCHMODE_ASSOC.
Referenced by ilPluginDBUpdate().
ilPluginDBUpdate::getFileForStep | ( | $a_version | ) |
Get db update file name for db step.
Reimplemented from ilDBUpdate.
Definition at line 97 of file class.ilPluginDBUpdate.php.
Referenced by ilPluginDBUpdate().
ilPluginDBUpdate::ilPluginDBUpdate | ( | $a_ctype, | |
$a_cname, | |||
$a_slot_id, | |||
$a_pname, | |||
$a_db_handler, | |||
$tmp_flag, | |||
$a_db_prefix | |||
) |
constructor
Definition at line 37 of file class.ilPluginDBUpdate.php.
References getCurrentVersion(), ilPlugin\getDBUpdateScriptName(), getFileForStep(), ilPluginSlot\lookupSlotName(), ilDBUpdate\readDBUpdateFile(), ilDBUpdate\readFileVersion(), and ilDBUpdate\readLastUpdateFile().
ilPluginDBUpdate::loadXMLInfo | ( | ) |
Reimplemented from ilDBUpdate.
Definition at line 146 of file class.ilPluginDBUpdate.php.
ilPluginDBUpdate::setCurrentVersion | ( | $a_version | ) |
Set current DB version.
Reimplemented from ilDBUpdate.
Definition at line 134 of file class.ilPluginDBUpdate.php.