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.ilObjPersistentCertificateVerificationGUI.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
3
7
class
ilObjPersistentCertificateVerificationGUI
8
{
12
private
$dic
;
13
17
private
$fileService
;
18
22
private
$language
;
23
24
public
function
__construct
(
25
\
ILIAS
\
DI
\Container
$dic
= null,
26
ilPortfolioCertificateFileService
$fileService
= null,
27
ilLanguage
$language
= null
28
) {
29
if
(null ===
$dic
) {
30
global
$DIC
;
31
$dic
=
$DIC
;
32
}
33
$this->dic =
$dic
;
34
35
if
(null ===
$fileService
) {
36
$fileService
=
new
ilPortfolioCertificateFileService
();
37
}
38
$this->fileService =
$fileService
;
39
40
if
(null ===
$language
) {
41
$language
=
$dic
->language();
42
}
43
$this->
language
=
$language
;
44
}
45
53
public
function
downloadFromPortfolioPage
(
ilPortfolioPage
$a_page,
int
$objectId,
int
$userId)
54
{
55
if
(
ilPCVerification::isInPortfolioPage
($a_page,
'crta'
, (
int
) $objectId)) {
56
$this->fileService->deliverCertificate((
int
) $userId, (
int
) $objectId);
57
}
58
59
throw
new
ilException
($this->
language
->txt(
'permission_denied'
));
60
}
61
}
ilPortfolioCertificateFileService
Definition:
class.ilPortfolioCertificateFileService.php:9
ilObjPersistentCertificateVerificationGUI\downloadFromPortfolioPage
downloadFromPortfolioPage(ilPortfolioPage $a_page, int $objectId, int $userId)
Definition:
class.ilObjPersistentCertificateVerificationGUI.php:53
ilException
ilObjPersistentCertificateVerificationGUI\$dic
$dic
Definition:
class.ilObjPersistentCertificateVerificationGUI.php:12
ILIAS
Class ChatMainBarProvider .
ilPCVerification\isInPortfolioPage
static isInPortfolioPage(ilPortfolioPage $a_page, $a_type, $a_id)
Definition:
class.ilPCVerification.php:99
ilObjPersistentCertificateVerificationGUI\$fileService
$fileService
Definition:
class.ilObjPersistentCertificateVerificationGUI.php:17
ilObjPersistentCertificateVerificationGUI
Definition:
class.ilObjPersistentCertificateVerificationGUI.php:7
DI
Class HTTPServicesTest.
ilPortfolioPage
Page for user portfolio.
Definition:
class.ilPortfolioPage.php:10
ilObjPersistentCertificateVerificationGUI\$language
$language
Definition:
class.ilObjPersistentCertificateVerificationGUI.php:22
$DIC
$DIC
Definition:
xapitoken.php:46
ilLanguage
language handling
Definition:
class.ilLanguage.php:26
language
language()
Definition:
language.php:2
ilObjPersistentCertificateVerificationGUI\__construct
__construct(\ILIAS\DI\Container $dic=null, ilPortfolioCertificateFileService $fileService=null, ilLanguage $language=null)
Definition:
class.ilObjPersistentCertificateVerificationGUI.php:24
Services
Certificate
classes
Portfolio
class.ilObjPersistentCertificateVerificationGUI.php
Generated on Fri Apr 4 2025 20:01:20 for ILIAS by
1.8.13 (using
Doxyfile
)