|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Database Update class. More...
Inheritance diagram for ilPluginDBUpdate:
Collaboration diagram for ilPluginDBUpdate:Public Member Functions | |
| __construct ( $a_ctype, $a_cname, $a_slot_id, $a_pname, $a_db_handler, $tmp_flag, $a_db_prefix) | |
| constructor More... | |
| getFileForStep ($a_version) | |
| Get db update file name for db step. More... | |
| _DBUpdate () | |
| destructor More... | |
| getCurrentVersion () | |
| Get current DB version. More... | |
| setCurrentVersion ($a_version) | |
| Set current DB version. More... | |
| loadXMLInfo () | |
| checkQuery ($q) | |
| This is a very simple check. More... | |
Public Member Functions inherited from ilDBUpdate | |
| __construct ($a_db_handler=0, $client_ini=null) | |
| ilDBUpdate constructor. More... | |
| getFileForStep ($a_version) | |
| Get db update file name for db step. More... | |
| initStep ($i) | |
| readDBUpdateFile () | |
| readLastUpdateFile () | |
| getCurrentVersion () | |
| setCurrentVersion ($a_version) | |
| setRunningStatus ($a_nr) | |
| Set running status for a step. More... | |
| getRunningStatus () | |
| Get running status. More... | |
| clearRunningStatus () | |
| Clear running status. More... | |
| readFileVersion () | |
| getFileVersion () | |
| Get Version of file. More... | |
| execQuery ($db, $str) | |
| execute a query More... | |
| checkQuery ($q) | |
| check query More... | |
| applyUpdate ($a_break=0) | |
| Apply update. More... | |
| loadXMLInfo () | |
| applyUpdateNr (&$nr, $hotfix=false, $custom_update=false) | |
| apply an update More... | |
| getDBVersionStatus () | |
| getTables () | |
| getTableStatus ($table) | |
| getHotfixCurrentVersion () | |
| Get current hotfix version. More... | |
| setHotfixCurrentVersion ($a_version) | |
| Set current hotfix version. More... | |
| getHotfixFileVersion () | |
| Get current hotfix version. More... | |
| readHotfixFileVersion ($a_file_content) | |
| Set current hotfix version. More... | |
| readHotfixInfo ($a_force=false) | |
| Get status of hotfix file. More... | |
| hotfixAvailable () | |
| Get status of hotfix file. More... | |
| applyHotfix () | |
| Apply hotfix. More... | |
| 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) More... | |
| getHotfixSteps () | |
| Get hotfix steps. More... | |
| getUpdateStepNr ($nr, $hotfix=false, $custom_update=false) | |
| Get single update step for presentation. More... | |
Additional Inherited Members | |
Data Fields inherited from ilDBUpdate | |
| $DB_UPDATE_FILE | |
| db update file More... | |
| $currentVersion | |
| $fileVersion | |
| $updateMsg | |
Protected Attributes inherited from ilDBUpdate | |
| $client_ini | |
| $custom_updates_current_version | |
| $custom_updates_file_version | |
| $custom_updates_info_read | |
Database Update class.
Definition at line 10 of file class.ilPluginDBUpdate.php.
| ilPluginDBUpdate::__construct | ( | $a_ctype, | |
| $a_cname, | |||
| $a_slot_id, | |||
| $a_pname, | |||
| $a_db_handler, | |||
| $tmp_flag, | |||
| $a_db_prefix | |||
| ) |
constructor
Definition at line 15 of file class.ilPluginDBUpdate.php.
References $DIC, getCurrentVersion(), ilPlugin\getDBUpdateScriptName(), getFileForStep(), ilPluginSlot\lookupSlotName(), PATH, ilDBUpdate\readDBUpdateFile(), ilDBUpdate\readFileVersion(), and ilDBUpdate\readLastUpdateFile().
Here is the call graph for this function:| ilPluginDBUpdate::_DBUpdate | ( | ) |
destructor
Definition at line 97 of file class.ilPluginDBUpdate.php.
| ilPluginDBUpdate::checkQuery | ( | $q | ) |
This is a very simple check.
Could be done better.
Reimplemented from ilDBUpdate.
Definition at line 145 of file class.ilPluginDBUpdate.php.
| ilPluginDBUpdate::getCurrentVersion | ( | ) |
Get current DB version.
Reimplemented from ilDBUpdate.
Definition at line 106 of file class.ilPluginDBUpdate.php.
References ilDBUpdate\$currentVersion.
Referenced by __construct().
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 87 of file class.ilPluginDBUpdate.php.
Referenced by __construct().
Here is the caller graph for this function:| ilPluginDBUpdate::loadXMLInfo | ( | ) |
Reimplemented from ilDBUpdate.
Definition at line 136 of file class.ilPluginDBUpdate.php.
| ilPluginDBUpdate::setCurrentVersion | ( | $a_version | ) |
Set current DB version.
Reimplemented from ilDBUpdate.
Definition at line 124 of file class.ilPluginDBUpdate.php.