ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ 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
}
ilCheckboxInputGUI
This class represents a checkbox property in a property form.
Definition:
class.ilCheckboxInputGUI.php:28
ilDclCheckboxInputGUI
Definition:
class.ilDclCheckboxInputGUI.php:22
ilDclCheckboxInputGUI\checkInput
checkInput()
Check input, strip slashes etc.
Definition:
class.ilDclCheckboxInputGUI.php:23
ilFormPropertyGUI\$lng
ilLanguage $lng
Definition:
class.ilFormPropertyGUI.php:37
ilFormPropertyGUI\setAlert
setAlert(string $a_alert)
Definition:
class.ilFormPropertyGUI.php:146
ilFormPropertyGUI\getRequired
getRequired()
Definition:
class.ilFormPropertyGUI.php:161
ilFormPropertyGUI\getPostVar
getPostVar()
Definition:
class.ilFormPropertyGUI.php:124
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
ILIAS\FileDelivery\http
static http()
Fetches the global http state from ILIAS.
Definition:
HttpServiceAware.php:55
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
DataCollection
classes
Helpers
class.ilDclCheckboxInputGUI.php
Generated on Sat Oct 18 2025 23:02:56 for ILIAS by
1.9.4 (using
Doxyfile
)