ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilDclCheckboxInputGUI.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
class
ilDclCheckboxInputGUI
extends
ilCheckboxInputGUI
22
{
23
public
function
checkInput
(): bool
24
{
25
$has_postvar = $this->
http
->wrapper()->post()->has($this->
getPostVar
());
26
if
($this->
getRequired
() && !$has_postvar) {
27
global
$DIC
;
28
$lng
= $DIC[
'lng'
];
29
$this->
setAlert
(
$lng
->
txt
(
"msg_input_is_required"
));
30
31
return
false
;
32
}
33
34
return
parent::checkInput();
35
}
36
}
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:170
ilFormPropertyGUI\getPostVar
getPostVar()
Definition:
class.ilFormPropertyGUI.php:124
ilFormPropertyGUI\setAlert
setAlert(string $a_alert)
Definition:
class.ilFormPropertyGUI.php:146
ilCheckboxInputGUI
ILIAS\FileDelivery\http
static http()
Fetches the global http state from ILIAS.
Definition:
HttpServiceAware.php:55
ilDclCheckboxInputGUI\checkInput
checkInput()
Definition:
class.ilDclCheckboxInputGUI.php:23
$DIC
global $DIC
Definition:
shib_login.php:26
ilDclCheckboxInputGUI
Definition:
class.ilDclCheckboxInputGUI.php:21
ilFormPropertyGUI\getRequired
getRequired()
Definition:
class.ilFormPropertyGUI.php:161
ilFormPropertyGUI\$lng
ilLanguage $lng
Definition:
class.ilFormPropertyGUI.php:37
components
ILIAS
DataCollection
classes
Helpers
class.ilDclCheckboxInputGUI.php
Generated on Sun Aug 31 2025 23:02:48 for ILIAS by
1.8.13 (using
Doxyfile
)