| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Database Update class. More...
 Inheritance diagram for ilPluginDBUpdate:
 Inheritance diagram for ilPluginDBUpdate: Collaboration diagram for ilPluginDBUpdate:
 Collaboration diagram for ilPluginDBUpdate:| 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 | |
| initStep ($i) | |
| Init Step. | |
| readDBUpdateFile () | |
| readLastUpdateFile () | |
| 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 | |
| applyUpdate ($a_break=0) | |
| Apply update. | |
| applyUpdateNr ($nr, $hotfix=false, $custom_update=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. | |
| hotfixAvailable () | |
| Get status of hotfix file. | |
| applyHotfix () | |
| Apply hotfix. | |
| getCustomUpdatesCurrentVersion () | |
| setCustomUpdatesCurrentVersion ($a_version) | |
| getCustomUpdatesFileVersion () | |
| readCustomUpdatesFileVersion ($a_file_content) | |
| readCustomUpdatesInfo ($a_force=false) | |
| customUpdatesAvailable () | |
| applyCustomUpdates () | |
| getUpdateSteps ($a_break=0) | |
| Get update steps as string (for presentation) | |
| getHotfixSteps () | |
| Get hotfix steps. | |
| getUpdateStepNr ($nr, $hotfix=false, $custom_update=false) | |
| Get single update step for presentation. | |
| Additional Inherited Members | |
|  Data Fields inherited from ilDBUpdate | |
| $DB_UPDATE_FILE | |
| db update file | |
| $currentVersion | |
| $fileVersion | |
Database Update class.
Definition at line 12 of file class.ilPluginDBUpdate.php.
| ilPluginDBUpdate::_DBUpdate | ( | ) | 
destructor
Reimplemented from ilDBUpdate.
Definition at line 87 of file class.ilPluginDBUpdate.php.
| ilPluginDBUpdate::checkQuery | ( | $q | ) | 
This is a very simple check.
Could be done better.
Reimplemented from ilDBUpdate.
Definition at line 135 of file class.ilPluginDBUpdate.php.
| ilPluginDBUpdate::getCurrentVersion | ( | ) | 
Get current DB version.
Reimplemented from ilDBUpdate.
Definition at line 96 of file class.ilPluginDBUpdate.php.
References ilDBUpdate\$currentVersion.
Referenced by ilPluginDBUpdate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPluginDBUpdate::getFileForStep | ( | $a_version | ) | 
Get db update file name for db step.
Reimplemented from ilDBUpdate.
Definition at line 77 of file class.ilPluginDBUpdate.php.
Referenced by ilPluginDBUpdate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilPluginDBUpdate::ilPluginDBUpdate | ( | $a_ctype, | |
| $a_cname, | |||
| $a_slot_id, | |||
| $a_pname, | |||
| $a_db_handler, | |||
| $tmp_flag, | |||
| $a_db_prefix | |||
| ) | 
constructor
Definition at line 17 of file class.ilPluginDBUpdate.php.
References getCurrentVersion(), ilPlugin\getDBUpdateScriptName(), getFileForStep(), ilPluginSlot\lookupSlotName(), ilDBUpdate\readDBUpdateFile(), ilDBUpdate\readFileVersion(), and ilDBUpdate\readLastUpdateFile().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPluginDBUpdate::loadXMLInfo | ( | ) | 
Reimplemented from ilDBUpdate.
Definition at line 126 of file class.ilPluginDBUpdate.php.
| ilPluginDBUpdate::setCurrentVersion | ( | $a_version | ) | 
Set current DB version.
Reimplemented from ilDBUpdate.
Definition at line 114 of file class.ilPluginDBUpdate.php.