ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilPCListItemGUI.php
Go to the documentation of this file.
1
<?php
2
24
class
ilPCListItemGUI
extends
ilPageContentGUI
25
{
26
public
function
__construct
(
27
ilPageObject
$a_pg_obj,
28
?
ilPageContent
$a_content_obj,
29
string
$a_hier_id,
30
string
$a_pc_id =
""
31
) {
32
parent::__construct
($a_pg_obj, $a_content_obj, $a_hier_id, $a_pc_id);
33
}
34
35
public
function
executeCommand
(): void
36
{
37
// get next class that processes or forwards current command
38
$next_class = $this->
ctrl
->getNextClass($this);
39
40
// get current command
41
$cmd = $this->
ctrl
->getCmd();
42
43
switch
($next_class) {
44
default
:
45
$this->$cmd();
46
break
;
47
}
48
}
49
50
54
public
function
newItemAfter
(): void
55
{
56
$this->content_obj->newItemAfter();
57
$this->
updateAndReturn
();
58
}
59
63
public
function
newItemBefore
(): void
64
{
65
$this->content_obj->newItemBefore();
66
$this->
updateAndReturn
();
67
}
68
72
public
function
deleteItem
(): void
73
{
74
$this->content_obj->deleteItem();
75
$this->
updateAndReturn
();
76
}
77
81
public
function
moveItemDown
(): void
82
{
83
$this->content_obj->moveItemDown();
84
$this->
updateAndReturn
();
85
}
86
90
public
function
moveItemUp
(): void
91
{
92
$this->content_obj->moveItemUp();
93
$this->
updateAndReturn
();
94
}
95
}
ilPCListItemGUI\moveItemDown
moveItemDown()
move list item down
Definition:
class.ilPCListItemGUI.php:81
ilPCListItemGUI\__construct
__construct(ilPageObject $a_pg_obj, ?ilPageContent $a_content_obj, string $a_hier_id, string $a_pc_id="")
Definition:
class.ilPCListItemGUI.php:26
ilPCListItemGUI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilPCListItemGUI.php:24
ilPCListItemGUI\moveItemUp
moveItemUp()
move list item up
Definition:
class.ilPCListItemGUI.php:90
ilPageContent
Content object of ilPageObject (see ILIAS DTD).
Definition:
class.ilPageContent.php:28
ilPCListItemGUI\newItemBefore
newItemBefore()
insert new list item before current one
Definition:
class.ilPCListItemGUI.php:63
ilPCListItemGUI\deleteItem
deleteItem()
delete a list item
Definition:
class.ilPCListItemGUI.php:72
ILIAS\Repository\ctrl
ctrl()
Definition:
trait.GlobalDICGUIServices.php:63
ilPageContentGUI
User Interface for Editing of Page Content Objects (Paragraphs, Tables, ...)
Definition:
class.ilPageContentGUI.php:29
ilPageObject
Class ilPageObject Handles PageObjects of ILIAS Learning Modules (see ILIAS DTD)
Definition:
class.ilPageObject.php:52
ilPCListItemGUI\newItemAfter
newItemAfter()
insert new list item after current one
Definition:
class.ilPCListItemGUI.php:54
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ilPCListItemGUI\executeCommand
executeCommand()
Definition:
class.ilPCListItemGUI.php:35
ilPageContentGUI\updateAndReturn
updateAndReturn()
Definition:
class.ilPageContentGUI.php:368
components
ILIAS
COPage
PC
List
class.ilPCListItemGUI.php
Generated on Sun Aug 31 2025 23:02:40 for ILIAS by
1.8.13 (using
Doxyfile
)