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.ilCertificatePdfFilename.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3
7
class
ilCertificatePdfFilename
implements
ilCertificateFilename
8
{
10
private
$lng
;
11
16
public
function
__construct
(\
ilLanguage
$lng
)
17
{
18
$this->lng =
$lng
;
19
20
$this->lng->loadLanguageModule(
'certificate'
);
21
}
22
26
public
function
createFileName
(
ilUserCertificatePresentation
$presentation) : string
27
{
28
$basename = $this->lng->txt(
'certificate_file_basename'
);
29
if
(!is_string($basename) || 0 === trim($basename)) {
30
$basename =
'Certificate'
;
31
}
32
33
return
$basename .
'.pdf'
;
34
}
35
}
ilLanguage
ilCertificatePdfFilename\__construct
__construct(\ilLanguage $lng)
ilCertificatePdfFileNameFactory constructor.
Definition:
class.ilCertificatePdfFilename.php:16
ilCertificatePdfFilename\$lng
$lng
Definition:
class.ilCertificatePdfFilename.php:10
ilCertificatePdfFilename\createFileName
createFileName(ilUserCertificatePresentation $presentation)
Definition:
class.ilCertificatePdfFilename.php:26
ilUserCertificatePresentation
Definition:
class.ilUserCertificatePresentation.php:7
ilCertificateFilename
Definition:
interface.ilCertificateFilename.php:7
ilCertificatePdfFilename
Definition:
class.ilCertificatePdfFilename.php:7
Services
Certificate
classes
File
Certificate
Filename
class.ilCertificatePdfFilename.php
Generated on Sun Apr 6 2025 21:01:17 for ILIAS by
1.8.13 (using
Doxyfile
)