ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.ilDidacticTemplate11DBUpdateSteps.php
Go to the documentation of this file.
1
<?php
2
19
class
ilDidacticTemplate11DBUpdateSteps
implements
\ilDatabaseUpdateSteps
20
{
21
protected \ilDBInterface
$db
;
22
23
public
function
prepare
(\
ilDBInterface
$db
): void
24
{
25
$this->db =
$db
;
26
}
27
28
public
function
step_1
(): void
29
{
30
if
($this->db->tableExists(
'il_translations'
)
31
&& !$this->db->tableExists(
'il_dt_translations'
)) {
32
$this->db->renameTable(
33
'il_translations'
,
34
'il_dt_translations'
35
);
36
}
37
}
38
}
ilDidacticTemplate11DBUpdateSteps
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilDidacticTemplate11DBUpdateSteps.php:20
ilDidacticTemplate11DBUpdateSteps\prepare
prepare(\ilDBInterface $db)
Prepare the execution of the steps.
Definition:
class.ilDidacticTemplate11DBUpdateSteps.php:23
ilDidacticTemplate11DBUpdateSteps\$db
ilDBInterface $db
Definition:
class.ilDidacticTemplate11DBUpdateSteps.php:21
ilDidacticTemplate11DBUpdateSteps\step_1
step_1()
Definition:
class.ilDidacticTemplate11DBUpdateSteps.php:28
ilDBInterface
Interface ilDBInterface.
Definition:
interface.ilDBInterface.php:30
ilDatabaseUpdateSteps
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilDatabaseUpdateSteps.php:44
components
ILIAS
DidacticTemplate
classes
Setup
class.ilDidacticTemplate11DBUpdateSteps.php
Generated on Sat Oct 18 2025 23:02:57 for ILIAS by
1.9.4 (using
Doxyfile
)