ILIAS  release_4-4 Revision
All Data Structures Namespaces Files Functions Variables Modules Pages
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$ 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.

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

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  }
$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 37 of file class.ilFormPropertyDispatchGUI.php.

Referenced by executeCommand().

38  {
39  return $this->item;
40  }
+ 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: