ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
class.ilHTLMDatabaseUpdateSteps10.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
class
ilHTLMDatabaseUpdateSteps10
implements
ilDatabaseUpdateSteps
22
{
23
protected
ilDBInterface
$db
;
24
25
public
function
prepare
(
ilDBInterface
$db): void
26
{
27
$this->db =
$db
;
28
}
29
30
public
function
step_1
(): void
31
{
32
if
($this->db->tableExists(
'file_based_lm'
) && !$this->db->tableColumnExists(
'file_based_lm'
,
'rid'
)) {
33
$this->db->addTableColumn(
'file_based_lm'
,
'rid'
, [
34
'type'
=>
'text'
,
35
'length'
=> 64,
36
'notnull'
=>
true
,
37
'default'
=>
''
38
]);
39
}
40
}
41
42
}
ilHTLMDatabaseUpdateSteps10
Definition:
class.ilHTLMDatabaseUpdateSteps10.php:21
ilDBInterface
ilHTLMDatabaseUpdateSteps10\prepare
prepare(ilDBInterface $db)
Definition:
class.ilHTLMDatabaseUpdateSteps10.php:25
ilDatabaseUpdateSteps
ilHTLMDatabaseUpdateSteps10\$db
ilDBInterface $db
Definition:
class.ilHTLMDatabaseUpdateSteps10.php:23
ilHTLMDatabaseUpdateSteps10\step_1
step_1()
Definition:
class.ilHTLMDatabaseUpdateSteps10.php:30
components
ILIAS
HTMLLearningModule
classes
Setup
class.ilHTLMDatabaseUpdateSteps10.php
Generated on Mon Sep 1 2025 23:03:15 for ILIAS by
1.8.13 (using
Doxyfile
)