ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 }
checkInput()
Additional check for either block or custom chars.
Radio input for character seelctor definition.
setAlert($a_alert)
Set Alert Text.
This class represents a property in a property form.
global $lng
Definition: privfeed.php:17
$_POST["username"]