|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilADNDatabaseObjective:
Collaboration diagram for ilADNDatabaseObjective: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... | |
Public Member Functions inherited from ilDatabaseUpdateSteps | |
| 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 ILIAS\Repository\database().
Referenced by step_1().
Here is the call graph for this function:
Here is the caller graph for this function:| ilADNDatabaseObjective::prepare | ( | ilDBInterface | $db | ) |
Definition at line 28 of file class.ilADNDatabaseObjective.php.
References ILIAS\Repository\database().
Here is the call graph for this function:| 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(), and ILIAS\Repository\database().
Here is the call graph for this function:
|
private |
Definition at line 26 of file class.ilADNDatabaseObjective.php.