ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilMailTemplateSelectInputGUI.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
class
ilMailTemplateSelectInputGUI
extends
ilSelectInputGUI
22
{
23
public
function
__construct
(
string
$a_title,
string
$a_postvar,
protected
string
$url
,
protected
array $fields)
24
{
25
parent::__construct
($a_title, $a_postvar);
26
}
27
28
public
function
render
($a_mode =
''
): string
29
{
30
$html = parent::render($a_mode);
31
32
$tpl =
new
ilTemplate
(
33
'tpl.prop_template_select_container.html'
,
34
true
,
35
true
,
36
'components/ILIAS/Mail'
37
);
38
$tpl->setVariable(
'CONTENT'
, $html);
39
$tpl->setVariable(
'FIELDS'
, json_encode($this->fields, JSON_THROW_ON_ERROR));
40
$tpl->setVariable(
'URL'
, $this->url);
41
$tpl->setVariable(
'ID'
, $this->
getFieldId
());
42
43
return
$tpl->get();
44
}
45
}
ilTemplate
ilMailTemplateSelectInputGUI\__construct
__construct(string $a_title, string $a_postvar, protected string $url, protected array $fields)
Definition:
class.ilMailTemplateSelectInputGUI.php:23
ilSelectInputGUI
This class represents a selection list property in a property form.
Definition:
class.ilSelectInputGUI.php:27
$url
$url
Definition:
shib_logout.php:68
ilMailTemplateSelectInputGUI
Definition:
class.ilMailTemplateSelectInputGUI.php:21
ilFormPropertyGUI\getFieldId
getFieldId()
Definition:
class.ilFormPropertyGUI.php:129
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ilMailTemplateSelectInputGUI\render
render($a_mode='')
Definition:
class.ilMailTemplateSelectInputGUI.php:28
components
ILIAS
Mail
classes
Form
class.ilMailTemplateSelectInputGUI.php
Generated on Sun Aug 31 2025 23:03:19 for ILIAS by
1.8.13 (using
Doxyfile
)