ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilPCCurriculumGUI.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
26
class
ilPCCurriculumGUI
extends
ilPageContentGUI
27
{
28
public
const
CMD_INSERT
=
'insert'
;
29
public
const
CMD_EDIT
=
'edit'
;
30
31
public
function
executeCommand
(): void
32
{
33
$next_class = $this->
ctrl
->getNextClass($this);
34
switch
($next_class) {
35
default
:
36
$cmd = $this->
ctrl
->getCmd(self::CMD_EDIT);
37
switch
($cmd) {
38
39
case
self::CMD_INSERT:
40
$this->
insertNewContentObj
();
41
// no break
42
case
self::CMD_EDIT:
43
$this->
returnToParent
();
44
break
;
45
46
default
:
47
throw
new
Exception
(
'unknown command: '
. $cmd);
48
}
49
}
50
}
51
52
protected
function
returnToParent
(): void
53
{
54
$this->
ctrl
->returnToParent($this,
"jump"
. $this->hier_id);
55
}
56
57
protected
function
createNewPageContent
():
ilPCCurriculum
58
{
59
return
new
ilPCCurriculum
(
60
$this->
getPage
()
61
);
62
}
63
64
public
function
insertNewContentObj
(): void
65
{
66
$this->content_obj = $this->
createNewPageContent
();
67
$this->content_obj->create($this->pg_obj, $this->hier_id, $this->pc_id);
68
$this->pg_obj->update();
69
}
70
}
ilPageContentGUI\getPage
getPage()
Definition:
class.ilPageContentGUI.php:117
ilPCCurriculumGUI\returnToParent
returnToParent()
Definition:
class.ilPCCurriculumGUI.php:52
ilPCCurriculumGUI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilPCCurriculumGUI.php:26
ilPCCurriculumGUI\CMD_EDIT
const CMD_EDIT
Definition:
class.ilPCCurriculumGUI.php:29
ilPCCurriculum
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilPCCurriculum.php:25
ilPCCurriculumGUI\insertNewContentObj
insertNewContentObj()
Definition:
class.ilPCCurriculumGUI.php:64
ILIAS\Repository\ctrl
ctrl()
Definition:
trait.GlobalDICGUIServices.php:52
ilPageContentGUI
User Interface for Editing of Page Content Objects (Paragraphs, Tables, ...)
Definition:
class.ilPageContentGUI.php:29
ilPCCurriculumGUI\executeCommand
executeCommand()
Definition:
class.ilPCCurriculumGUI.php:31
ilPCCurriculumGUI\createNewPageContent
createNewPageContent()
Definition:
class.ilPCCurriculumGUI.php:57
ilPCCurriculumGUI\CMD_INSERT
const CMD_INSERT
Definition:
class.ilPCCurriculumGUI.php:28
Exception
Modules
LearningSequence
classes
PageEditor
class.ilPCCurriculumGUI.php
Generated on Tue Apr 1 2025 22:01:31 for ILIAS by
1.8.13 (using
Doxyfile
)