ILIAS
eassessment Revision 61809
|
Database Update class. More...
Public Member Functions | |
hotfixAvailable () | |
Get status of hotfix file. | |
getHotfixCurrentVersionEA () | |
Get current hotfix version. | |
setHotfixCurrentVersionEA ($a_version) | |
Set current hotfix version. | |
getHotfixFileVersionEA () | |
Get current hotfix version. | |
readHotfixInfoEA ($a_force=false) | |
Get status of hotfix file. | |
applyUpdateEANr ($nr) | |
apply an update | |
getHotfixCurrentVersionAsString () | |
getHotfixFileVersionAsString () | |
applyHotfix () | |
Apply hotfix. | |
![]() | |
ilDBUpdate ($a_db_handler=0, $tmp_flag=false) | |
constructor | |
getFileForStep ($a_version) | |
Get db update file name for db step. | |
initStep ($i) | |
Init Step. | |
_DBUpdate () | |
destructor | |
readDBUpdateFile () | |
readLastUpdateFile () | |
getCurrentVersion () | |
setCurrentVersion ($a_version) | |
setRunningStatus ($a_nr) | |
Set running status for a step. | |
getRunningStatus () | |
Get running status. | |
clearRunningStatus () | |
Clear running status. | |
readFileVersion () | |
getFileVersion () | |
Get Version of file. | |
execQuery ($db, $str) | |
execute a query | |
checkQuery ($q) | |
check query | |
applyUpdate ($a_break=0) | |
Apply update. | |
loadXMLInfo () | |
applyUpdateNr ($nr, $hotfix=false) | |
apply an update | |
getDBVersionStatus () | |
getTables () | |
getTableStatus ($table) | |
optimizeTables ($tables) | |
getHotfixCurrentVersion () | |
Get current hotfix version. | |
setHotfixCurrentVersion ($a_version) | |
Set current hotfix version. | |
getHotfixFileVersion () | |
Get current hotfix version. | |
readHotfixFileVersion ($a_file_content) | |
Set current hotfix version. | |
readHotfixInfo ($a_force=false) | |
Get status of hotfix file. |
Private Attributes | |
$hotfix_file_version_ea = 0 | |
$hotfix_current_version_ea = 0 |
Additional Inherited Members | |
![]() | |
$DB_UPDATE_FILE | |
db update file | |
$currentVersion | |
$fileVersion |
ilDBUpdateEA::applyHotfix | ( | ) |
Apply hotfix.
Reimplemented from ilDBUpdate.
Definition at line 210 of file class.ilDBUpdateEA.php.
References $f, $GLOBALS, $ilCtrlStructureReader, applyUpdateEANr(), getHotfixCurrentVersionEA(), getHotfixFileVersionEA(), ilDBUpdate\loadXMLInfo(), and readHotfixInfoEA().
ilDBUpdateEA::applyUpdateEANr | ( | $nr | ) |
apply an update
int | nr number what patch to apply |
Definition at line 90 of file class.ilDBUpdateEA.php.
References $error, $ilCtrlStructureReader, $ilDB, $ilErr, $row, ilDBUpdate\execQuery(), and setHotfixCurrentVersionEA().
Referenced by applyHotfix().
ilDBUpdateEA::getHotfixCurrentVersionAsString | ( | ) |
Definition at line 183 of file class.ilDBUpdateEA.php.
References ilDBUpdate\getHotfixCurrentVersion(), and getHotfixCurrentVersionEA().
ilDBUpdateEA::getHotfixCurrentVersionEA | ( | ) |
Get current hotfix version.
Definition at line 36 of file class.ilDBUpdateEA.php.
References $hotfix_current_version_ea, and readHotfixInfoEA().
Referenced by applyHotfix(), and getHotfixCurrentVersionAsString().
ilDBUpdateEA::getHotfixFileVersionAsString | ( | ) |
Definition at line 195 of file class.ilDBUpdateEA.php.
References ilDBUpdate\getHotfixFileVersion(), and getHotfixFileVersionEA().
ilDBUpdateEA::getHotfixFileVersionEA | ( | ) |
Get current hotfix version.
Definition at line 56 of file class.ilDBUpdateEA.php.
References $hotfix_file_version_ea, and readHotfixInfoEA().
Referenced by applyHotfix(), and getHotfixFileVersionAsString().
ilDBUpdateEA::hotfixAvailable | ( | ) |
Get status of hotfix file.
Reimplemented from ilDBUpdate.
Definition at line 21 of file class.ilDBUpdateEA.php.
References readHotfixInfoEA().
ilDBUpdateEA::readHotfixInfoEA | ( | $a_force = false | ) |
Get status of hotfix file.
Definition at line 65 of file class.ilDBUpdateEA.php.
References $GLOBALS, and ilDBUpdate\readHotfixFileVersion().
Referenced by applyHotfix(), getHotfixCurrentVersionEA(), getHotfixFileVersionEA(), hotfixAvailable(), and setHotfixCurrentVersionEA().
ilDBUpdateEA::setHotfixCurrentVersionEA | ( | $a_version | ) |
Set current hotfix version.
Definition at line 45 of file class.ilDBUpdateEA.php.
References readHotfixInfoEA().
Referenced by applyUpdateEANr().
|
private |
Definition at line 16 of file class.ilDBUpdateEA.php.
Referenced by getHotfixCurrentVersionEA().
|
private |
Definition at line 15 of file class.ilDBUpdateEA.php.
Referenced by getHotfixFileVersionEA().