ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilFormPropertyDispatchGUI Class Reference

Form property dispatcher. More...

+ Collaboration diagram for ilFormPropertyDispatchGUI:

Public Member Functions

 setItem ($a_val)
 Set item. More...
 
 getItem ()
 Get item. More...
 
 executeCommand ()
 Execute command. More...
 

Detailed Description

Form property dispatcher.

Forwards control flow to property form input GUI classes.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$ ilFormPropertyDispatchGUI:

Definition at line 13 of file class.ilFormPropertyDispatchGUI.php.

Member Function Documentation

◆ executeCommand()

ilFormPropertyDispatchGUI::executeCommand ( )

Execute command.

Definition at line 38 of file class.ilFormPropertyDispatchGUI.php.

References $cmd, $ilCtrl, and getItem().

39  {
40  global $ilCtrl;
41 
42  $next_class = $ilCtrl->getNextClass($this);
43  $cmd = $ilCtrl->getCmd();
44 
45  if (strtolower(get_class($this->getItem())) != $next_class)
46  {
47  die("ilFormPropertyDispatch: Forward Error. (".get_class($this->getItem())."-".$next_class.")");
48  }
49 
50  return $ilCtrl->forwardCommand($this->getItem());
51  }
$cmd
Definition: sahs_server.php:35
global $ilCtrl
Definition: ilias.php:18
+ Here is the call graph for this function:

◆ getItem()

ilFormPropertyDispatchGUI::getItem ( )

Get item.

Returns
object item

Definition at line 30 of file class.ilFormPropertyDispatchGUI.php.

Referenced by executeCommand().

31  {
32  return $this->item;
33  }
+ Here is the caller graph for this function:

◆ setItem()

ilFormPropertyDispatchGUI::setItem (   $a_val)

Set item.

Parameters
objectitem

Definition at line 20 of file class.ilFormPropertyDispatchGUI.php.

21  {
22  $this->item = $a_val;
23  }

The documentation for this class was generated from the following file: