ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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
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}
Radio input for character seelctor definition.
checkInput()
Additional check for either block or custom chars.
setAlert($a_alert)
Set Alert Text.
This class represents a property in a property form.
$_POST['username']
Definition: cron.php:12
global $lng
Definition: privfeed.php:40