ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.ilFormPropertyDispatchGUI.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
14{
18 function _construct()
19 {
20 }
21
27 function setItem($a_val)
28 {
29 $this->item = $a_val;
30 }
31
37 function getItem()
38 {
39 return $this->item;
40 }
41
45 function &executeCommand()
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 }
59
60}
global $ilCtrl
Definition: ilias.php:18
$cmd
Definition: sahs_server.php:35