ILIAS
release_4-4 Revision
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
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
k
l
m
n
o
p
q
r
s
t
u
v
w
y
+
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
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
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.ilMailFormPlaceholdersPropertyGUI.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
12
include_once
'Services/Form/classes/class.ilFormPropertyGUI.php'
;
13
14
class
ilMailFormPlaceholdersPropertyGUI
extends
ilFormPropertyGUI
15
{
16
17
public
function
__construct
()
18
{
19
global
$lng
;
20
parent::__construct(
''
);
21
}
22
23
public
function
insert
($a_tpl)
24
{
25
global
$lng
;
26
$subtpl =
new
ilTemplate
(
"tpl.mail_new_placeholders.html"
,
false
,
false
,
"Services/Mail"
);
27
$subtpl->setVariable(
'TXT_USE_PLACEHOLDERS'
, $lng->txt(
'mail_nacc_use_placeholder'
));
28
$subtpl->setVariable(
'TXT_PLACEHOLDERS_ADVISE'
, sprintf($lng->txt(
'placeholders_advise'
),
'<br />'
));
29
$subtpl->setVariable(
'TXT_MAIL_SALUTATION'
, $lng->txt(
'mail_nacc_salutation'
));
30
$subtpl->setVariable(
'TXT_FIRST_NAME'
, $lng->txt(
'firstname'
));
31
$subtpl->setVariable(
'TXT_LAST_NAME'
, $lng->txt(
'lastname'
));
32
$subtpl->setVariable(
'TXT_LOGIN'
, $lng->txt(
'mail_nacc_login'
));
33
$subtpl->setVariable(
'TXT_ILIAS_URL'
, $lng->txt(
'mail_nacc_ilias_url'
));
34
$subtpl->setVariable(
'TXT_CLIENT_NAME'
, $lng->txt(
'mail_nacc_client_name'
));
35
36
$a_tpl->setCurrentBlock(
"prop_generic"
);
37
$a_tpl->setVariable(
"PROP_GENERIC"
, $subtpl->get());
38
$a_tpl->parseCurrentBlock();
39
}
40
}
41
42
?>
ilMailFormPlaceholdersPropertyGUI
Definition:
class.ilMailFormPlaceholdersPropertyGUI.php:14
ilMailFormPlaceholdersPropertyGUI\__construct
__construct()
Definition:
class.ilMailFormPlaceholdersPropertyGUI.php:17
ilTemplate
special template class to simplify handling of ITX/PEAR
Definition:
class.ilTemplate.php:11
ilMailFormPlaceholdersPropertyGUI\insert
insert($a_tpl)
Definition:
class.ilMailFormPlaceholdersPropertyGUI.php:23
ilFormPropertyGUI
This class represents a property in a property form.
Definition:
class.ilFormPropertyGUI.php:11
$lng
global $lng
Definition:
privfeed.php:40
Services
Mail
classes
class.ilMailFormPlaceholdersPropertyGUI.php
Generated on Mon Dec 21 2020 19:01:16 for ILIAS by
1.8.13 (using
Doxyfile
)