ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilFormPropertyDispatchGUI.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
29
class
ilFormPropertyDispatchGUI
30
{
31
protected
ilCtrl
$ctrl
;
32
protected
ilFormPropertyGUI
$item
;
33
34
public
function
__construct
()
35
{
36
global
$DIC
;
37
38
$this->
ctrl
= $DIC->ctrl();
39
}
40
41
public
function
setItem
(
ilFormPropertyGUI
$a_val): void
42
{
43
$this->item = $a_val;
44
}
45
46
public
function
getItem
():
ilFormPropertyGUI
47
{
48
return
$this->item
;
49
}
50
55
public
function
executeCommand
()
56
{
57
$ilCtrl =
$this->ctrl
;
58
59
$next_class = $ilCtrl->
getNextClass
($this);
60
$cmd = $ilCtrl->getCmd();
61
62
if
(strtolower(get_class($this->
getItem
())) != $next_class) {
63
die(
"ilFormPropertyDispatch: Forward Error. ("
. get_class($this->
getItem
()) .
"-"
. $next_class .
")"
);
64
}
65
66
return
$ilCtrl->forwardCommand($this->
getItem
());
67
}
68
}
ilFormPropertyDispatchGUI\$ctrl
ilCtrl $ctrl
Definition:
class.ilFormPropertyDispatchGUI.php:31
ilFormPropertyDispatchGUI\$item
ilFormPropertyGUI $item
Definition:
class.ilFormPropertyDispatchGUI.php:32
ilFormPropertyDispatchGUI\getItem
getItem()
Definition:
class.ilFormPropertyDispatchGUI.php:46
ILIAS\Repository\ctrl
ctrl()
Definition:
trait.GlobalDICGUIServices.php:63
ilCtrl\getNextClass
getNextClass($a_gui_class=null)
Definition:
class.ilCtrl.php:188
ilFormPropertyDispatchGUI\executeCommand
executeCommand()
Definition:
class.ilFormPropertyDispatchGUI.php:55
$DIC
global $DIC
Definition:
shib_login.php:26
ilFormPropertyDispatchGUI
Form property dispatcher.
Definition:
class.ilFormPropertyDispatchGUI.php:29
ilFormPropertyGUI
ilFormPropertyDispatchGUI\setItem
setItem(ilFormPropertyGUI $a_val)
Definition:
class.ilFormPropertyDispatchGUI.php:41
ilFormPropertyDispatchGUI\__construct
__construct()
Definition:
class.ilFormPropertyDispatchGUI.php:34
ilCtrl
components
ILIAS
Form
classes
class.ilFormPropertyDispatchGUI.php
Generated on Sun Aug 31 2025 23:03:00 for ILIAS by
1.8.13 (using
Doxyfile
)