◆ prepare()
◆ step_1()
| ilTest9DBUpdateSteps::step_1 |
( |
| ) |
|
Definition at line 30 of file class.ilTest9DBUpdateSteps.php.
32 if ($this->db->tableColumnExists(
'tst_tests',
'show_examview_pdf')) {
33 $this->db->dropTableColumn(
'tst_tests',
'show_examview_pdf');
◆ step_10()
| ilTest9DBUpdateSteps::step_10 |
( |
| ) |
|
Definition at line 196 of file class.ilTest9DBUpdateSteps.php.
198 if ($this->db->tableColumnExists(
'tst_tests',
'sign_submission')) {
199 $this->db->dropTableColumn(
◆ step_11()
| ilTest9DBUpdateSteps::step_11 |
( |
| ) |
|
Definition at line 206 of file class.ilTest9DBUpdateSteps.php.
208 if ($this->db->tableColumnExists(
'tst_tests',
'show_summary')) {
209 $this->db->renameTableColumn(
212 'usr_pass_overview_mode'
◆ step_12()
| ilTest9DBUpdateSteps::step_12 |
( |
| ) |
|
Definition at line 217 of file class.ilTest9DBUpdateSteps.php.
219 if (!$this->db->tableColumnExists(
'tst_tests',
'show_questionlist')) {
220 $this->db->addTableColumn(
◆ step_13()
| ilTest9DBUpdateSteps::step_13 |
( |
| ) |
|
Definition at line 231 of file class.ilTest9DBUpdateSteps.php.
233 if (!$this->db->tableColumnExists(
'tst_tests',
'hide_info_tab')) {
234 $this->db->addTableColumn(
'tst_tests',
'hide_info_tab', [
242 if (!$this->db->tableColumnExists(
'tst_tests',
'conditions_checkbox_enabled')) {
243 $this->db->addTableColumn(
'tst_tests',
'conditions_checkbox_enabled', [
◆ step_14()
| ilTest9DBUpdateSteps::step_14 |
( |
| ) |
|
Definition at line 252 of file class.ilTest9DBUpdateSteps.php.
254 if ($this->db->tableColumnExists(
'tst_tests',
'hide_info_tab')) {
255 $this->db->modifyTableColumn(
'tst_tests',
'hide_info_tab', [
263 if ($this->db->tableColumnExists(
'tst_tests',
'conditions_checkbox_enabled')) {
264 $this->db->modifyTableColumn(
'tst_tests',
'conditions_checkbox_enabled', [
◆ step_15()
| ilTest9DBUpdateSteps::step_15 |
( |
| ) |
|
Definition at line 273 of file class.ilTest9DBUpdateSteps.php.
275 if ($this->db->tableColumnExists(
'tst_tests',
'result_tax_filters')) {
276 $this->db->dropTableColumn(
'tst_tests',
'result_tax_filters');
◆ step_16()
| ilTest9DBUpdateSteps::step_16 |
( |
| ) |
|
◆ step_17()
| ilTest9DBUpdateSteps::step_17 |
( |
| ) |
|
◆ step_18()
| ilTest9DBUpdateSteps::step_18 |
( |
| ) |
|
◆ step_19()
| ilTest9DBUpdateSteps::step_19 |
( |
| ) |
|
Definition at line 316 of file class.ilTest9DBUpdateSteps.php.
318 if (!$this->db->tableExists(
'tst_qst_var_presented')) {
319 $this->db->createTable(
'tst_qst_var_presented', [
346 $this->db->addPrimaryKey(
347 'tst_qst_var_presented',
348 [
'question_id',
'active_id',
'pass',
'variable']
◆ step_2()
| ilTest9DBUpdateSteps::step_2 |
( |
| ) |
|
Definition at line 37 of file class.ilTest9DBUpdateSteps.php.
39 if (!$this->db->tableExists(
'manscoring_done')) {
40 $this->db->createTable(
'manscoring_done', [
53 $this->db->addPrimaryKey(
'manscoring_done', [
'active_id']);
◆ step_20()
| ilTest9DBUpdateSteps::step_20 |
( |
| ) |
|
◆ step_21()
| ilTest9DBUpdateSteps::step_21 |
( |
| ) |
|
Definition at line 358 of file class.ilTest9DBUpdateSteps.php.
360 $this->db->manipulate(
'UPDATE tst_pass_result SET points = 0 WHERE points < 0');
361 $this->db->manipulate(
'UPDATE tst_result_cache SET reached_points = 0 WHERE reached_points < 0');
◆ step_22()
| ilTest9DBUpdateSteps::step_22 |
( |
| ) |
|
◆ step_23()
| ilTest9DBUpdateSteps::step_23 |
( |
| ) |
|
Definition at line 382 of file class.ilTest9DBUpdateSteps.php.
384 $this->db->manipulate(
385 'DELETE FROM settings WHERE module="assessment" AND keyword="assessment_man_scoring_fix_run"'
◆ step_3()
| ilTest9DBUpdateSteps::step_3 |
( |
| ) |
|
Drop the test settings for the special character seletor.
Definition at line 60 of file class.ilTest9DBUpdateSteps.php.
62 if ($this->db->tableColumnExists(
'tst_tests',
'char_selector_availability')) {
63 $this->db->dropTableColumn(
'tst_tests',
'char_selector_availability');
66 if ($this->db->tableColumnExists(
'tst_tests',
'char_selector_definition')) {
67 $this->db->dropTableColumn(
'tst_tests',
'char_selector_definition');
◆ step_4()
| ilTest9DBUpdateSteps::step_4 |
( |
| ) |
|
Definition at line 71 of file class.ilTest9DBUpdateSteps.php.
73 if (!$this->db->tableColumnExists(
'tst_tests',
'introduction_page_id')) {
74 $this->db->addTableColumn(
76 'introduction_page_id',
83 if (!$this->db->tableColumnExists(
'tst_tests',
'concluding_remarks_page_id')) {
84 $this->db->addTableColumn(
86 'concluding_remarks_page_id',
◆ step_5()
| ilTest9DBUpdateSteps::step_5 |
( |
| ) |
|
Definition at line 95 of file class.ilTest9DBUpdateSteps.php.
97 if ($this->db->tableColumnExists(
'tst_tests',
'show_examview_html')) {
98 $this->db->dropTableColumn(
103 if ($this->db->tableColumnExists(
'tst_tests',
'showinfo')) {
104 $this->db->dropTableColumn(
109 if ($this->db->tableColumnExists(
'tst_tests',
'forcejs')) {
110 $this->db->dropTableColumn(
115 if ($this->db->tableColumnExists(
'tst_tests',
'enable_archiving')) {
116 $this->db->dropTableColumn(
121 if ($this->db->tableColumnExists(
'tst_tests',
'customstyle')) {
122 $this->db->dropTableColumn(
127 if ($this->db->tableColumnExists(
'tst_tests',
'enabled_view_mode')) {
128 $this->db->dropTableColumn(
◆ step_6()
| ilTest9DBUpdateSteps::step_6 |
( |
| ) |
|
Definition at line 135 of file class.ilTest9DBUpdateSteps.php.
137 if ($this->db->tableColumnExists(
'tst_tests',
'allowedusers')) {
138 $this->db->dropTableColumn(
'tst_tests',
'allowedusers');
141 if ($this->db->tableColumnExists(
'tst_tests',
'alloweduserstimegap')) {
142 $this->db->dropTableColumn(
'tst_tests',
'alloweduserstimegap');
145 if ($this->db->tableColumnExists(
'tst_tests',
'limit_users_enabled')) {
146 $this->db->dropTableColumn(
'tst_tests',
'limit_users_enabled');
◆ step_7()
| ilTest9DBUpdateSteps::step_7 |
( |
| ) |
|
Definition at line 150 of file class.ilTest9DBUpdateSteps.php.
152 if ($this->db->tableExists(
'tst_dyn_quest_set_cfg')) {
153 $this->db->dropTable(
'tst_dyn_quest_set_cfg');
155 if ($this->db->tableExists(
'tst_seq_qst_tracking')) {
156 $this->db->dropTable(
'tst_seq_qst_tracking');
158 if ($this->db->tableExists(
'tst_seq_qst_answstatus')) {
159 $this->db->dropTable(
'tst_seq_qst_answstatus');
161 if ($this->db->tableExists(
'tst_seq_qst_postponed')) {
162 $this->db->dropTable(
'tst_seq_qst_postponed');
◆ step_8()
| ilTest9DBUpdateSteps::step_8 |
( |
| ) |
|
Definition at line 166 of file class.ilTest9DBUpdateSteps.php.
168 if ($this->db->tableColumnExists(
'tst_tests',
'redirection_url')) {
169 $this->db->modifyTableColumn(
◆ step_9()
| ilTest9DBUpdateSteps::step_9 |
( |
| ) |
|
Definition at line 182 of file class.ilTest9DBUpdateSteps.php.
184 if (!$this->db->tableColumnExists(
'tst_tests',
'show_questionlist')) {
185 $this->db->addTableColumn(
◆ $db
The documentation for this class was generated from the following file: