ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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
s
t
w
+
Functions
_
a
b
c
f
g
h
i
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.ilUsersGalleryUserImpl.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Services/User/Gallery/interfaces/interface.ilUsersGalleryUser.php'
;
5
9
class
ilUsersGalleryUserImpl
implements
ilUsersGalleryUser
10
{
14
protected
$aggregated_user
;
15
19
protected
$public_name
=
''
;
20
24
protected
$sortable_public_name
=
''
;
25
32
public
function
__construct
(
ilObjUser
$aggregated_user
,
$public_name
,
$sortable_public_name
)
33
{
34
$this->aggregated_user =
$aggregated_user
;
35
$this->public_name =
$public_name
;
36
$this->sortable_public_name =
$sortable_public_name
;
37
}
38
42
public
function
hasPublicProfile
()
43
{
44
global
$DIC
;
45
46
return
(
47
(!$DIC->user()->isAnonymous() && $this->aggregated_user->getPref(
'public_profile'
) ==
'y'
) ||
48
$this->aggregated_user->getPref(
'public_profile'
) ==
'g'
49
);
50
}
51
55
public
function
getPublicName
()
56
{
57
return
$this->public_name
;
58
}
59
63
public
function
getSortablePublicName
()
64
{
65
return
$this->sortable_public_name
;
66
}
67
71
public
function
getAggregatedUser
()
72
{
73
return
$this->aggregated_user
;
74
}
75
}
ilUsersGalleryUserImpl\getAggregatedUser
getAggregatedUser()
ilObjUser
Definition:
class.ilUsersGalleryUserImpl.php:71
ilUsersGalleryUserImpl
Class ilUsersGalleryUserImpl.
Definition:
class.ilUsersGalleryUserImpl.php:9
ilUsersGalleryUserImpl\__construct
__construct(ilObjUser $aggregated_user, $public_name, $sortable_public_name)
ilUsersGalleryUserImpl constructor.
Definition:
class.ilUsersGalleryUserImpl.php:32
ilUsersGalleryUser
Interface ilUsersGalleryUser.
Definition:
interface.ilUsersGalleryUser.php:7
ilUsersGalleryUserImpl\hasPublicProfile
hasPublicProfile()
boolean
Definition:
class.ilUsersGalleryUserImpl.php:42
ilObjUser
ilUsersGalleryUserImpl\getPublicName
getPublicName()
string
Definition:
class.ilUsersGalleryUserImpl.php:55
ilUsersGalleryUserImpl\getSortablePublicName
getSortablePublicName()
string
Definition:
class.ilUsersGalleryUserImpl.php:63
$DIC
$DIC
Definition:
xapitoken.php:46
ilUsersGalleryUserImpl\$aggregated_user
$aggregated_user
Definition:
class.ilUsersGalleryUserImpl.php:14
ilUsersGalleryUserImpl\$sortable_public_name
$sortable_public_name
Definition:
class.ilUsersGalleryUserImpl.php:24
ilUsersGalleryUserImpl\$public_name
$public_name
Definition:
class.ilUsersGalleryUserImpl.php:19
Services
User
Gallery
classes
class.ilUsersGalleryUserImpl.php
Generated on Sat Apr 5 2025 20:01:33 for ILIAS by
1.8.13 (using
Doxyfile
)