ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilPCGridCellGUI.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 1998-2011 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
require_once(
"./Services/COPage/classes/class.ilPCTableData.php"
);
6
require_once(
"./Services/COPage/classes/class.ilPageContentGUI.php"
);
7
15
class
ilPCGridCellGUI
extends
ilPageContentGUI
16
{
17
21
public
function
__construct
($a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id =
""
)
22
{
23
parent::__construct($a_pg_obj, $a_content_obj, $a_hier_id, $a_pc_id);
24
}
25
29
public
function
executeCommand
()
30
{
31
// get next class that processes or forwards current command
32
$next_class = $this->ctrl->getNextClass($this);
33
34
// get current command
35
$cmd = $this->ctrl->getCmd();
36
37
switch
($next_class) {
38
default
:
39
$ret
= $this->$cmd();
40
break
;
41
}
42
43
return
$ret
;
44
}
45
49
public
function
deleteCell
()
50
{
51
$this->content_obj->deleteCell();
52
$_SESSION
[
"il_pg_error"
] = $this->pg_obj->update();
53
$this->ctrl->returnToParent($this,
"jump"
. $this->hier_id);
54
}
55
56
60
public
function
moveCellRight
()
61
{
62
$this->content_obj->moveCellRight();
63
$_SESSION
[
"il_pg_error"
] = $this->pg_obj->update();
64
$this->ctrl->returnToParent($this,
"jump"
. $this->hier_id);
65
}
66
70
public
function
moveCellLeft
()
71
{
72
$this->content_obj->moveCellLeft();
73
$_SESSION
[
"il_pg_error"
] = $this->pg_obj->update();
74
$this->ctrl->returnToParent($this,
"jump"
. $this->hier_id);
75
}
76
}
ilPCGridCellGUI\__construct
__construct($a_pg_obj, &$a_content_obj, $a_hier_id, $a_pc_id="")
Constructor.
Definition:
class.ilPCGridCellGUI.php:21
ilPCGridCellGUI\moveCellRight
moveCellRight()
Move cell right.
Definition:
class.ilPCGridCellGUI.php:60
ilPCGridCellGUI\executeCommand
executeCommand()
execute command
Definition:
class.ilPCGridCellGUI.php:29
ilPCGridCellGUI\moveCellLeft
moveCellLeft()
Move cell left.
Definition:
class.ilPCGridCellGUI.php:70
$_SESSION
$_SESSION["AccountId"]
Definition:
cfg.phpunit.template.php:10
ilPCGridCellGUI\deleteCell
deleteCell()
delete cell
Definition:
class.ilPCGridCellGUI.php:49
ilPageContentGUI
User Interface for Editing of Page Content Objects (Paragraphs, Tables, ...)
Definition:
class.ilPageContentGUI.php:14
ilPCGridCellGUI
Grid cell UI class.
Definition:
class.ilPCGridCellGUI.php:15
$ret
$ret
Definition:
parser.php:6
php
Services
COPage
classes
class.ilPCGridCellGUI.php
Generated on Thu Jan 16 2025 19:02:20 for ILIAS by
1.8.13 (using
Doxyfile
)