ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilDclCheckboxInputGUI.php
Go to the documentation of this file.
1
<?
php
2
8
class
ilDclCheckboxInputGUI
extends
ilCheckboxInputGUI
9
{
10
public
function
checkInput
()
11
{
12
if
($this->
getRequired
() && !isset(
$_POST
[$this->
getPostVar
()])) {
13
global
$DIC
;
14
$lng
= $DIC[
'lng'
];
15
$this->
setAlert
(
$lng
->txt(
"msg_input_is_required"
));
16
17
return
false
;
18
}
19
20
return
parent::checkInput();
21
}
22
}
$DIC
global $DIC
Definition:
saml.php:7
ilFormPropertyGUI\getPostVar
getPostVar()
Get Post Variable.
Definition:
class.ilFormPropertyGUI.php:122
ilCheckboxInputGUI
This class represents a checkbox property in a property form.
Definition:
class.ilCheckboxInputGUI.php:33
ilCheckboxInputGUI\$lng
$lng
Definition:
class.ilCheckboxInputGUI.php:38
ilFormPropertyGUI\setAlert
setAlert($a_alert)
Set Alert Text.
Definition:
class.ilFormPropertyGUI.php:165
ilDclCheckboxInputGUI\checkInput
checkInput()
Definition:
class.ilDclCheckboxInputGUI.php:10
ilDclCheckboxInputGUI
Class ilDclCheckboxInputGUI.
Definition:
class.ilDclCheckboxInputGUI.php:8
php
ilFormPropertyGUI\getRequired
getRequired()
Get Required.
Definition:
class.ilFormPropertyGUI.php:195
$_POST
$_POST["username"]
Definition:
cfg.phpunit.template.php:11
Modules
DataCollection
classes
Helpers
class.ilDclCheckboxInputGUI.php
Generated on Thu Jan 16 2025 19:02:02 for ILIAS by
1.8.13 (using
Doxyfile
)