ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
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
13
class
ilFormPropertyDispatchGUI
14
{
20
function
setItem
($a_val)
21
{
22
$this->item = $a_val;
23
}
24
30
function
getItem
()
31
{
32
return
$this->item;
33
}
34
38
function
executeCommand
()
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
}
52
53
}
php
An exception for terminatinating execution or to throw for unit testing.
ilFormPropertyDispatchGUI
Form property dispatcher.
Definition:
class.ilFormPropertyDispatchGUI.php:14
ilFormPropertyDispatchGUI\executeCommand
executeCommand()
Execute command.
Definition:
class.ilFormPropertyDispatchGUI.php:38
ilFormPropertyDispatchGUI\getItem
getItem()
Get item.
Definition:
class.ilFormPropertyDispatchGUI.php:30
ilFormPropertyDispatchGUI\setItem
setItem($a_val)
Set item.
Definition:
class.ilFormPropertyDispatchGUI.php:20
$ilCtrl
global $ilCtrl
Definition:
ilias.php:18
$cmd
$cmd
Definition:
sahs_server.php:35
Services
Form
classes
class.ilFormPropertyDispatchGUI.php
Generated on Fri Oct 31 2025 19:01:04 for ILIAS by
1.9.4 (using
Doxyfile
)