ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
class.ilDclCheckboxInputGUI.php
Go to the documentation of this file.
1
<?php
2
19
class
ilDclCheckboxInputGUI
extends
ilCheckboxInputGUI
20
{
21
public
function
checkInput
(): bool
22
{
23
$has_postvar = $this->
http
->wrapper()->post()->has($this->
getPostVar
());
24
if
($this->
getRequired
() && !$has_postvar) {
25
global
$DIC
;
26
$lng
= $DIC[
'lng'
];
27
$this->
setAlert
(
$lng
->
txt
(
"msg_input_is_required"
));
28
29
return
false
;
30
}
31
32
return
parent::checkInput();
33
}
34
}
ilLanguage\txt
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
Definition:
class.ilLanguage.php:172
ilFormPropertyGUI\getPostVar
getPostVar()
Definition:
class.ilFormPropertyGUI.php:117
ilFormPropertyGUI\setAlert
setAlert(string $a_alert)
Definition:
class.ilFormPropertyGUI.php:139
ilCheckboxInputGUI
This class represents a checkbox property in a property form.
Definition:
class.ilCheckboxInputGUI.php:26
$DIC
global $DIC
Definition:
feed.php:28
ILIAS\FileDelivery\http
static http()
Fetches the global http state from ILIAS.
Definition:
HttpServiceAware.php:54
ilDclCheckboxInputGUI\checkInput
checkInput()
Definition:
class.ilDclCheckboxInputGUI.php:21
ilDclCheckboxInputGUI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilDclCheckboxInputGUI.php:19
ilFormPropertyGUI\getRequired
getRequired()
Definition:
class.ilFormPropertyGUI.php:154
ilFormPropertyGUI\$lng
ilLanguage $lng
Definition:
class.ilFormPropertyGUI.php:36
Modules
DataCollection
classes
Helpers
class.ilDclCheckboxInputGUI.php
Generated on Sun Aug 31 2025 22:01:22 for ILIAS by
1.8.13 (using
Doxyfile
)