ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
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 Tue Apr 1 2025 22:01:25 for ILIAS by
1.8.13 (using
Doxyfile
)