ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilFormPropertyDispatchGUI Class Reference

Form property dispatcher. More...

+ Collaboration diagram for ilFormPropertyDispatchGUI:

Public Member Functions

 _construct ()
 Constructor. More...
 
 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$ @ilCtrl_Calls ilFormPropertyDispatchGUI:

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

Member Function Documentation

◆ _construct()

ilFormPropertyDispatchGUI::_construct ( )

Constructor.

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

19 {
20 }

◆ executeCommand()

& ilFormPropertyDispatchGUI::executeCommand ( )

Execute command.

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

46 {
47 global $ilCtrl;
48
49 $next_class = $ilCtrl->getNextClass($this);
50 $cmd = $ilCtrl->getCmd();
51
52 if (strtolower(get_class($this->getItem())) != $next_class)
53 {
54 die("ilFormPropertyDispatch: Forward Error.");
55 }
56
57 return $ilCtrl->forwardCommand($this->getItem());
58 }
global $ilCtrl
Definition: ilias.php:18
$cmd
Definition: sahs_server.php:35

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

+ Here is the call graph for this function:

◆ getItem()

ilFormPropertyDispatchGUI::getItem ( )

Get item.

Returns
object item

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

38 {
39 return $this->item;
40 }

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ setItem()

ilFormPropertyDispatchGUI::setItem (   $a_val)

Set item.

Parameters
objectitem

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

28 {
29 $this->item = $a_val;
30 }

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