Definition at line 23 of file Test9DBUpdateSteps.php.
◆ prepare()
ILIAS\Test\Setup\Test9DBUpdateSteps::prepare |
( |
\ilDBInterface |
$db | ) |
|
◆ step_1()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_1 |
( |
| ) |
|
Definition at line 32 of file Test9DBUpdateSteps.php.
34 if ($this->db->tableColumnExists(
'tst_tests',
'show_examview_pdf')) {
35 $this->db->dropTableColumn(
'tst_tests',
'show_examview_pdf');
◆ step_10()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_10 |
( |
| ) |
|
Definition at line 198 of file Test9DBUpdateSteps.php.
200 if ($this->db->tableColumnExists(
'tst_tests',
'sign_submission')) {
201 $this->db->dropTableColumn(
◆ step_11()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_11 |
( |
| ) |
|
Definition at line 208 of file Test9DBUpdateSteps.php.
210 if ($this->db->tableColumnExists(
'tst_tests',
'show_summary')) {
211 $this->db->renameTableColumn(
214 'usr_pass_overview_mode'
◆ step_12()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_12 |
( |
| ) |
|
Definition at line 219 of file Test9DBUpdateSteps.php.
221 if (!$this->db->tableColumnExists(
'tst_tests',
'show_questionlist')) {
222 $this->db->addTableColumn(
◆ step_13()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_13 |
( |
| ) |
|
Definition at line 233 of file Test9DBUpdateSteps.php.
235 if (!$this->db->tableColumnExists(
'tst_tests',
'hide_info_tab')) {
236 $this->db->addTableColumn(
'tst_tests',
'hide_info_tab', [
244 if (!$this->db->tableColumnExists(
'tst_tests',
'conditions_checkbox_enabled')) {
245 $this->db->addTableColumn(
'tst_tests',
'conditions_checkbox_enabled', [
◆ step_14()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_14 |
( |
| ) |
|
Definition at line 254 of file Test9DBUpdateSteps.php.
256 if ($this->db->tableColumnExists(
'tst_tests',
'hide_info_tab')) {
257 $this->db->modifyTableColumn(
'tst_tests',
'hide_info_tab', [
265 if ($this->db->tableColumnExists(
'tst_tests',
'conditions_checkbox_enabled')) {
266 $this->db->modifyTableColumn(
'tst_tests',
'conditions_checkbox_enabled', [
◆ step_15()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_15 |
( |
| ) |
|
Definition at line 275 of file Test9DBUpdateSteps.php.
277 if ($this->db->tableColumnExists(
'tst_tests',
'result_tax_filters')) {
278 $this->db->dropTableColumn(
'tst_tests',
'result_tax_filters');
◆ step_16()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_16 |
( |
| ) |
|
Definition at line 282 of file Test9DBUpdateSteps.php.
284 if ($this->db->tableColumnExists(
'tst_tests',
'show_cancel')) {
285 $this->db->modifyTableColumn(
◆ step_17()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_17 |
( |
| ) |
|
Definition at line 297 of file Test9DBUpdateSteps.php.
299 if ($this->db->tableColumnExists(
'tst_tests',
'use_previous_answers')) {
300 $this->db->modifyTableColumn(
302 'use_previous_answers',
◆ step_18()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_18 |
( |
| ) |
|
Definition at line 313 of file Test9DBUpdateSteps.php.
315 if ($this->db->tableColumnExists(
'tst_tests',
'show_cancel')) {
316 $this->db->renameTableColumn(
319 'suspend_test_allowed'
◆ step_19()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_19 |
( |
| ) |
|
Definition at line 324 of file Test9DBUpdateSteps.php.
326 if (!$this->db->tableExists(
'tst_qst_var_presented')) {
327 $this->db->createTable(
'tst_qst_var_presented', [
354 $this->db->addPrimaryKey(
355 'tst_qst_var_presented',
356 [
'question_id',
'active_id',
'pass',
'variable']
◆ step_2()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_2 |
( |
| ) |
|
Definition at line 39 of file Test9DBUpdateSteps.php.
41 if (!$this->db->tableExists(
'manscoring_done')) {
42 $this->db->createTable(
'manscoring_done', [
55 $this->db->addPrimaryKey(
'manscoring_done', [
'active_id']);
◆ step_20()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_20 |
( |
| ) |
|
Definition at line 361 of file Test9DBUpdateSteps.php.
363 $this->db->manipulate(
'UPDATE tst_pass_result SET points = 0 WHERE points < 0');
364 $this->db->manipulate(
'UPDATE tst_result_cache SET reached_points = 0 WHERE reached_points < 0');
◆ step_3()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_3 |
( |
| ) |
|
Drop the test settings for the special character seletor.
Definition at line 62 of file Test9DBUpdateSteps.php.
64 if ($this->db->tableColumnExists(
'tst_tests',
'char_selector_availability')) {
65 $this->db->dropTableColumn(
'tst_tests',
'char_selector_availability');
68 if ($this->db->tableColumnExists(
'tst_tests',
'char_selector_definition')) {
69 $this->db->dropTableColumn(
'tst_tests',
'char_selector_definition');
◆ step_4()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_4 |
( |
| ) |
|
Definition at line 73 of file Test9DBUpdateSteps.php.
75 if (!$this->db->tableColumnExists(
'tst_tests',
'introduction_page_id')) {
76 $this->db->addTableColumn(
78 'introduction_page_id',
85 if (!$this->db->tableColumnExists(
'tst_tests',
'concluding_remarks_page_id')) {
86 $this->db->addTableColumn(
88 'concluding_remarks_page_id',
◆ step_5()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_5 |
( |
| ) |
|
Definition at line 97 of file Test9DBUpdateSteps.php.
99 if ($this->db->tableColumnExists(
'tst_tests',
'show_examview_html')) {
100 $this->db->dropTableColumn(
105 if ($this->db->tableColumnExists(
'tst_tests',
'showinfo')) {
106 $this->db->dropTableColumn(
111 if ($this->db->tableColumnExists(
'tst_tests',
'forcejs')) {
112 $this->db->dropTableColumn(
117 if ($this->db->tableColumnExists(
'tst_tests',
'enable_archiving')) {
118 $this->db->dropTableColumn(
123 if ($this->db->tableColumnExists(
'tst_tests',
'customstyle')) {
124 $this->db->dropTableColumn(
129 if ($this->db->tableColumnExists(
'tst_tests',
'enabled_view_mode')) {
130 $this->db->dropTableColumn(
◆ step_6()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_6 |
( |
| ) |
|
Definition at line 137 of file Test9DBUpdateSteps.php.
139 if ($this->db->tableColumnExists(
'tst_tests',
'allowedusers')) {
140 $this->db->dropTableColumn(
'tst_tests',
'allowedusers');
143 if ($this->db->tableColumnExists(
'tst_tests',
'alloweduserstimegap')) {
144 $this->db->dropTableColumn(
'tst_tests',
'alloweduserstimegap');
147 if ($this->db->tableColumnExists(
'tst_tests',
'limit_users_enabled')) {
148 $this->db->dropTableColumn(
'tst_tests',
'limit_users_enabled');
◆ step_7()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_7 |
( |
| ) |
|
Definition at line 152 of file Test9DBUpdateSteps.php.
154 if ($this->db->tableExists(
'tst_dyn_quest_set_cfg')) {
155 $this->db->dropTable(
'tst_dyn_quest_set_cfg');
157 if ($this->db->tableExists(
'tst_seq_qst_tracking')) {
158 $this->db->dropTable(
'tst_seq_qst_tracking');
160 if ($this->db->tableExists(
'tst_seq_qst_answstatus')) {
161 $this->db->dropTable(
'tst_seq_qst_answstatus');
163 if ($this->db->tableExists(
'tst_seq_qst_postponed')) {
164 $this->db->dropTable(
'tst_seq_qst_postponed');
◆ step_8()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_8 |
( |
| ) |
|
Definition at line 168 of file Test9DBUpdateSteps.php.
References null.
170 if ($this->db->tableColumnExists(
'tst_tests',
'redirection_url')) {
171 $this->db->modifyTableColumn(
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
◆ step_9()
ILIAS\Test\Setup\Test9DBUpdateSteps::step_9 |
( |
| ) |
|
Definition at line 184 of file Test9DBUpdateSteps.php.
186 if (!$this->db->tableColumnExists(
'tst_tests',
'show_questionlist')) {
187 $this->db->addTableColumn(
◆ $db
The documentation for this class was generated from the following file: