ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilDclCheckboxInputGUI.php
Go to the documentation of this file.
1
<?
php
2
3
require_once(
'./Services/Form/classes/class.ilCheckboxInputGUI.php'
);
4
10
class
ilDclCheckboxInputGUI
extends
ilCheckboxInputGUI
11
{
12
13
public
function
checkInput
()
14
{
15
if
($this->
getRequired
() && !isset(
$_POST
[$this->
getPostVar
()])) {
16
global
$DIC
;
17
$lng
= $DIC[
'lng'
];
18
$this->
setAlert
(
$lng
->txt(
"msg_input_is_required"
));
19
return
false
;
20
}
21
22
return
parent::checkInput();
23
}
24
25
}
ilFormPropertyGUI\getPostVar
getPostVar()
Get Post Variable.
Definition:
class.ilFormPropertyGUI.php:108
ilCheckboxInputGUI
This class represents a checkbox property in a property form.
Definition:
class.ilCheckboxInputGUI.php:33
ilFormPropertyGUI\setAlert
setAlert($a_alert)
Set Alert Text.
Definition:
class.ilFormPropertyGUI.php:151
ilDclCheckboxInputGUI\checkInput
checkInput()
Definition:
class.ilDclCheckboxInputGUI.php:13
$lng
global $lng
Definition:
privfeed.php:17
ilDclCheckboxInputGUI
Class ilDclCheckboxInputGUI.
Definition:
class.ilDclCheckboxInputGUI.php:10
php
$DIC
global $DIC
Definition:
imagemanager.php:32
ilFormPropertyGUI\getRequired
getRequired()
Get Required.
Definition:
class.ilFormPropertyGUI.php:181
$_POST
$_POST["username"]
Definition:
cfg.phpunit.template.php:11
Modules
DataCollection
classes
Helpers
class.ilDclCheckboxInputGUI.php
Generated on Fri Jan 17 2025 19:00:58 for ILIAS by
1.8.13 (using
Doxyfile
)