ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
Public Member Functions | |
prepare (ilDBInterface $db) | |
step_1 () | |
Adds a new table column called 'has_language_limitation' which is used to define whether a notification is only shown for certain languages or if it is shown for all languages. 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 |
Definition at line 24 of file class.ilADNDatabaseObjective.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 91 of file class.ilADNDatabaseObjective.php.
References null.
Referenced by step_1().
ilADNDatabaseObjective::prepare | ( | ilDBInterface | $db | ) |
Definition at line 28 of file class.ilADNDatabaseObjective.php.
ilADNDatabaseObjective::step_1 | ( | ) |
Adds a new table column called 'has_language_limitation' which is used to define whether a notification is only shown for certain languages or if it is shown for all languages.
Also adds a new table column called 'limited_to_languages' which specifies which languages a notification with
NOTE: the initial values will be set to 0 and "" respectively so that existing notifications will not be affected.
Definition at line 42 of file class.ilADNDatabaseObjective.php.
References abortIfNotPrepared().
|
private |
Definition at line 26 of file class.ilADNDatabaseObjective.php.