26 protected \ilDBInterface
$db;
41 $this->db->modifyTableColumn(
"object_translation",
"title", $field);
46 if ($this->db->tableExists(
"il_object_def")) {
47 $query =
"UPDATE il_object_def SET " . PHP_EOL
48 .
" component = REPLACE(component, 'Modules', 'components/ILIAS'), " . PHP_EOL
49 .
" location = REPLACE(location, 'Modules', 'components/ILIAS')" . PHP_EOL
50 .
" WHERE component LIKE ('Modules/%')";
52 $this->db->manipulate($query);
58 $query =
"UPDATE il_object_def SET " . PHP_EOL
59 .
" component = REPLACE(component, 'Services', 'components/ILIAS'), " . PHP_EOL
60 .
" location = REPLACE(location, 'Services', 'components/ILIAS')" . PHP_EOL
61 .
" WHERE component LIKE ('Services/%')";
63 $this->db->manipulate($query);
68 $query =
"UPDATE il_object_def SET " . PHP_EOL
69 .
" component = REPLACE(component, 'Language', 'Language_'), " . PHP_EOL
70 .
" location = REPLACE(location, '/classes', '_/classes')" . PHP_EOL
71 .
" WHERE component LIKE ('%Language')";
73 $this->db->manipulate($query);
78 $query =
"UPDATE il_object_def SET " . PHP_EOL
79 .
" component = REPLACE(component, 'Language_', 'Language'), " . PHP_EOL
80 .
" location = REPLACE(location, '_/classes', '/classes')" . PHP_EOL
81 .
" WHERE component LIKE ('%Language')";
83 $this->db->manipulate($query);
prepare(\ilDBInterface $db)
Prepare the execution of the steps.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...