ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
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
+
Files
File List
+
Globals
+
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
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
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
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilMStShowUserCourses.php
Go to the documentation of this file.
1
<?php
2
namespace
ILIAS\MyStaff\Courses\ShowUser
;
3
4
use
ILIAS\MyStaff\ListCourses\ilMStListCourses
;
5
11
class
ilMStShowUserCourses
extends
ilMStListCourses
12
{
17
protected
function
createWhereStatement
(array $arr_filter)
18
{
19
global
$DIC
;
20
21
if
(!$arr_filter[
'usr_id'
]) {
22
return
''
;
23
}
24
25
$where = parent::createWhereStatement($arr_filter);
26
$usr_filter =
"a_table.usr_id = "
. $DIC->database()->quote($arr_filter[
'usr_id'
],
'integer'
);
27
28
if
(empty($where)) {
29
return
' WHERE '
. $usr_filter;
30
}
else
{
31
return
$where .
' AND '
. $usr_filter;
32
}
33
}
34
}
ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCourses
Class ilMStShowUserCourses.
Definition:
class.ilMStShowUserCourses.php:11
ILIAS\MyStaff\Courses\ShowUser
Definition:
class.ilMStShowUserCourses.php:2
ilMStListCourses
ILIAS\MyStaff\ListCourses\ilMStListCourses
Class ilMStListCourses.
Definition:
class.ilMStListCourses.php:14
$DIC
global $DIC
Definition:
goto.php:24
ILIAS\MyStaff\Courses\ShowUser\ilMStShowUserCourses\createWhereStatement
createWhereStatement(array $arr_filter)
Definition:
class.ilMStShowUserCourses.php:17
Services
MyStaff
classes
ShowUser
Courses
class.ilMStShowUserCourses.php
Generated on Sat Apr 5 2025 21:01:34 for ILIAS by
1.8.13 (using
Doxyfile
)