ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
|
Class ilCtrlDatabaseUpdateSteps holds the database update- steps affecting ilCtrl tables. More...
Public Member Functions | |
prepare (ilDBInterface $db) | |
step_1 () | |
Deletes the table 'ctrl_calls' from the database, as it is no longer needed. More... | |
step_2 () | |
Deletes the table 'ctrl_classfile' from the database, as it is no longer needed. More... | |
step_3 () | |
Deletes the table 'ctrl_structure' from the database, as it is no longer needed. More... | |
step_4 () | |
Deletes the table 'il_request_token' from the database, since tokens are now stored in the ILIAS session. More... | |
step_5 () | |
Deletes the table 'service_class' from the database, since information is now stored in an artifact. More... | |
step_6 () | |
Deletes the table 'module_class' from the database, since information is now stored in an artifact. More... | |
![]() | |
prepare (\ilDBInterface $db) | |
Prepare the execution of the steps. More... | |
Private Member Functions | |
abortIfNotPrepared () | |
Halts the execution of these update steps if no database was provided. More... | |
Private Attributes | |
ilDBInterface | $database = null |
Class ilCtrlDatabaseUpdateSteps holds the database update- steps affecting ilCtrl tables.
Definition at line 27 of file class.ilCtrlDatabaseUpdateSteps.php.
|
private |
Halts the execution of these update steps if no database was provided.
LogicException | if the database update steps were not yet prepared. |
Definition at line 121 of file class.ilCtrlDatabaseUpdateSteps.php.
References null.
Referenced by step_1(), step_2(), step_3(), step_4(), step_5(), and step_6().
ilCtrlDatabaseUpdateSteps::prepare | ( | ilDBInterface | $db | ) |
Definition at line 37 of file class.ilCtrlDatabaseUpdateSteps.php.
ilCtrlDatabaseUpdateSteps::step_1 | ( | ) |
Deletes the table 'ctrl_calls' from the database, as it is no longer needed.
Definition at line 46 of file class.ilCtrlDatabaseUpdateSteps.php.
References abortIfNotPrepared().
ilCtrlDatabaseUpdateSteps::step_2 | ( | ) |
Deletes the table 'ctrl_classfile' from the database, as it is no longer needed.
Definition at line 58 of file class.ilCtrlDatabaseUpdateSteps.php.
References abortIfNotPrepared().
ilCtrlDatabaseUpdateSteps::step_3 | ( | ) |
Deletes the table 'ctrl_structure' from the database, as it is no longer needed.
Definition at line 70 of file class.ilCtrlDatabaseUpdateSteps.php.
References abortIfNotPrepared().
ilCtrlDatabaseUpdateSteps::step_4 | ( | ) |
Deletes the table 'il_request_token' from the database, since tokens are now stored in the ILIAS session.
Definition at line 82 of file class.ilCtrlDatabaseUpdateSteps.php.
References abortIfNotPrepared().
ilCtrlDatabaseUpdateSteps::step_5 | ( | ) |
Deletes the table 'service_class' from the database, since information is now stored in an artifact.
Definition at line 94 of file class.ilCtrlDatabaseUpdateSteps.php.
References abortIfNotPrepared().
ilCtrlDatabaseUpdateSteps::step_6 | ( | ) |
Deletes the table 'module_class' from the database, since information is now stored in an artifact.
Definition at line 106 of file class.ilCtrlDatabaseUpdateSteps.php.
References abortIfNotPrepared().
|
private |
Definition at line 32 of file class.ilCtrlDatabaseUpdateSteps.php.