ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
Public Member Functions | |
prepare (\ilDBInterface $db) | |
Prepare the execution of the steps. More... | |
step_1 () | |
Add a column to il_md_cpr_selections for the full name of the licence. More... | |
step_2 () | |
Add a column to il_md_cpr_selections for the link to the licence. More... | |
step_3 () | |
Add a column to il_md_cpr_selections for the link to the licence's image. More... | |
step_4 () | |
Add a column to il_md_cpr_selections for the alt text of the licence's image. More... | |
step_5 () | |
Add a column to il_md_cpr_selections to track which licences have been migrated. More... | |
step_6 () | |
Add a column to il_md_cpr_selections for the string identifier for the licence's image, if it is saved as a file. More... | |
step_7 () | |
Add CC0 to the available copyrights. More... | |
step_8 () | |
Replace CC0 image link by svg. More... | |
step_9 () | |
Change title, description and full name of 'All rights reserved', see https://mantis.ilias.de/view.php?id=41301. More... | |
step_10 () | |
Change title, description and full name of 'Public Domain', see https://mantis.ilias.de/view.php?id=41301. More... | |
step_11 () | |
Change title of CC licences, see https://mantis.ilias.de/view.php?id=41898. More... | |
step_12 () | |
Also change description of unmigrated 'All rights reserved', see https://mantis.ilias.de/view.php?id=41301. More... | |
Protected Attributes | |
ilDBInterface | $db |
Definition at line 21 of file class.ilMDCopyrightUpdateSteps.php.
ilMDCopyrightUpdateSteps::prepare | ( | \ilDBInterface | $db | ) |
Prepare the execution of the steps.
Do not use anything from the globals or the DIC inside your steps, only use the instance of the database provided here.
Implements ilDatabaseUpdateSteps.
Definition at line 25 of file class.ilMDCopyrightUpdateSteps.php.
References $db.
ilMDCopyrightUpdateSteps::step_1 | ( | ) |
Add a column to il_md_cpr_selections for the full name of the licence.
Definition at line 33 of file class.ilMDCopyrightUpdateSteps.php.
References ilDBConstants\T_CLOB.
ilMDCopyrightUpdateSteps::step_10 | ( | ) |
Change title, description and full name of 'Public Domain', see https://mantis.ilias.de/view.php?id=41301.
Definition at line 215 of file class.ilMDCopyrightUpdateSteps.php.
References $res, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
ilMDCopyrightUpdateSteps::step_11 | ( | ) |
Change title of CC licences, see https://mantis.ilias.de/view.php?id=41898.
Definition at line 245 of file class.ilMDCopyrightUpdateSteps.php.
References $res, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
ilMDCopyrightUpdateSteps::step_12 | ( | ) |
Also change description of unmigrated 'All rights reserved', see https://mantis.ilias.de/view.php?id=41301.
Definition at line 288 of file class.ilMDCopyrightUpdateSteps.php.
References $res, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
ilMDCopyrightUpdateSteps::step_2 | ( | ) |
Add a column to il_md_cpr_selections for the link to the licence.
Definition at line 47 of file class.ilMDCopyrightUpdateSteps.php.
References ilDBConstants\T_CLOB.
ilMDCopyrightUpdateSteps::step_3 | ( | ) |
Add a column to il_md_cpr_selections for the link to the licence's image.
Definition at line 61 of file class.ilMDCopyrightUpdateSteps.php.
References ilDBConstants\T_CLOB.
ilMDCopyrightUpdateSteps::step_4 | ( | ) |
Add a column to il_md_cpr_selections for the alt text of the licence's image.
Definition at line 75 of file class.ilMDCopyrightUpdateSteps.php.
References ilDBConstants\T_CLOB.
ilMDCopyrightUpdateSteps::step_5 | ( | ) |
Add a column to il_md_cpr_selections to track which licences have been migrated.
Definition at line 89 of file class.ilMDCopyrightUpdateSteps.php.
References ilDBConstants\T_INTEGER.
ilMDCopyrightUpdateSteps::step_6 | ( | ) |
Add a column to il_md_cpr_selections for the string identifier for the licence's image, if it is saved as a file.
Definition at line 108 of file class.ilMDCopyrightUpdateSteps.php.
References ilDBConstants\T_CLOB.
ilMDCopyrightUpdateSteps::step_7 | ( | ) |
Add CC0 to the available copyrights.
Definition at line 122 of file class.ilMDCopyrightUpdateSteps.php.
References $res, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
ilMDCopyrightUpdateSteps::step_8 | ( | ) |
Replace CC0 image link by svg.
Definition at line 160 of file class.ilMDCopyrightUpdateSteps.php.
References $res, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
ilMDCopyrightUpdateSteps::step_9 | ( | ) |
Change title, description and full name of 'All rights reserved', see https://mantis.ilias.de/view.php?id=41301.
Definition at line 186 of file class.ilMDCopyrightUpdateSteps.php.
References $res, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
|
protected |
Definition at line 23 of file class.ilMDCopyrightUpdateSteps.php.
Referenced by prepare().