ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.ilForumDatabaseUpdateSteps9.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
class
ilForumDatabaseUpdateSteps9
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(
'frm_settings'
) && $this->db->tableColumnExists(
'frm_settings'
,
'thread_sorting'
)) {
33
$this->db->dropTableColumn(
'frm_settings'
,
'thread_sorting'
);
34
}
35
}
36
37
public
function
step_2
(): void
38
{
39
if
($this->db->tableExists(
'frm_threads'
) && $this->db->tableColumnExists(
'frm_threads'
,
'thread_sorting'
)) {
40
$this->db->dropTableColumn(
'frm_threads'
,
'thread_sorting'
);
41
}
42
}
43
}
ilForumDatabaseUpdateSteps9\step_2
step_2()
Definition:
class.ilForumDatabaseUpdateSteps9.php:37
ilForumDatabaseUpdateSteps9\step_1
step_1()
Definition:
class.ilForumDatabaseUpdateSteps9.php:30
ilForumDatabaseUpdateSteps9
Definition:
class.ilForumDatabaseUpdateSteps9.php:21
ilForumDatabaseUpdateSteps9\$db
ilDBInterface $db
Definition:
class.ilForumDatabaseUpdateSteps9.php:23
ilDBInterface
ilDatabaseUpdateSteps
ilForumDatabaseUpdateSteps9\prepare
prepare(ilDBInterface $db)
Definition:
class.ilForumDatabaseUpdateSteps9.php:25
components
ILIAS
Forum
classes
Setup
class.ilForumDatabaseUpdateSteps9.php
Generated on Sun Apr 6 2025 23:03:19 for ILIAS by
1.8.13 (using
Doxyfile
)