ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilCharSelectorRadioGroupInputGUI.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
7
class
ilCharSelectorRadioGroupInputGUI
extends
ilRadioGroupInputGUI
8
{
14
function
checkInput
()
15
{
16
global
$lng
;
17
if
(!parent::checkInput())
18
{
19
return
false
;
20
}
21
22
if
(
$_POST
[
'char_selector_availability'
] ==
ilCharSelectorConfig::ENABLED
23
and
trim(implode(
$_POST
[
'char_selector_blocks'
])) ==
""
24
and
trim(
$_POST
[
'char_selector_custom_items'
]) ==
''
)
25
{
26
$this->
setAlert
($lng->txt(
"char_selector_msg_blocks_or_custom_needed"
));
27
return
false
;
28
}
29
else
30
{
31
return
true
;
32
}
33
}
34
}
ilCharSelectorConfig\ENABLED
const ENABLED
Definition:
ilCharSelectorConfig.php:12
ilCharSelectorRadioGroupInputGUI\checkInput
checkInput()
Additional check for either block or custom chars.
Definition:
class.ilCharSelectorRadioGroupInputGUI.php:14
ilCharSelectorRadioGroupInputGUI
Radio input for character seelctor definition.
Definition:
class.ilCharSelectorRadioGroupInputGUI.php:7
ilFormPropertyGUI\setAlert
setAlert($a_alert)
Set Alert Text.
Definition:
class.ilFormPropertyGUI.php:151
ilRadioGroupInputGUI
This class represents a property in a property form.
Definition:
class.ilRadioGroupInputGUI.php:33
$lng
global $lng
Definition:
privfeed.php:17
php
and
$_POST
$_POST["username"]
Definition:
cfg.phpunit.template.php:11
Services
UIComponent
CharSelector
classes
class.ilCharSelectorRadioGroupInputGUI.php
Generated on Fri Mar 7 2025 19:01:17 for ILIAS by
1.8.13 (using
Doxyfile
)