ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ 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
{
18
protected
$ctrl
;
19
20
24
public
function
__construct
()
25
{
26
global
$DIC
;
27
28
$this->ctrl = $DIC->ctrl();
29
}
30
36
public
function
setItem
($a_val)
37
{
38
$this->item = $a_val;
39
}
40
46
public
function
getItem
()
47
{
48
return
$this->item;
49
}
50
54
public
function
executeCommand
()
55
{
56
$ilCtrl
=
$this->ctrl
;
57
58
$next_class =
$ilCtrl
->getNextClass($this);
59
$cmd =
$ilCtrl
->getCmd();
60
61
if
(strtolower(get_class($this->
getItem
())) != $next_class) {
62
die(
"ilFormPropertyDispatch: Forward Error. ("
. get_class($this->
getItem
()) .
"-"
. $next_class .
")"
);
63
}
64
65
return
$ilCtrl
->forwardCommand($this->
getItem
());
66
}
67
}
$DIC
global $DIC
Definition:
saml.php:7
ilFormPropertyDispatchGUI\getItem
getItem()
Get item.
Definition:
class.ilFormPropertyDispatchGUI.php:46
$ilCtrl
global $ilCtrl
Definition:
ilias.php:18
ilFormPropertyDispatchGUI\executeCommand
executeCommand()
Execute command.
Definition:
class.ilFormPropertyDispatchGUI.php:54
ilFormPropertyDispatchGUI
Form property dispatcher.
Definition:
class.ilFormPropertyDispatchGUI.php:13
ilFormPropertyDispatchGUI\setItem
setItem($a_val)
Set item.
Definition:
class.ilFormPropertyDispatchGUI.php:36
ilFormPropertyDispatchGUI\__construct
__construct()
Constructor.
Definition:
class.ilFormPropertyDispatchGUI.php:24
ilFormPropertyDispatchGUI\$ctrl
$ctrl
Definition:
class.ilFormPropertyDispatchGUI.php:18
Services
Form
classes
class.ilFormPropertyDispatchGUI.php
Generated on Sat Jan 18 2025 19:01:32 for ILIAS by
1.8.13 (using
Doxyfile
)