ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
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
q
r
s
t
u
v
w
x
z
+
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
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilContainerPageGUI.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
include_once(
"./Services/COPage/classes/class.ilPageObjectGUI.php"
);
6
include_once(
"./Services/Container/classes/class.ilContainerPage.php"
);
7
19
class
ilContainerPageGUI
extends
ilPageObjectGUI
20
{
24
protected
$obj_definition
;
25
29
public
function
__construct
($a_id = 0, $a_old_nr = 0, $a_lang =
""
)
30
{
32
global
$DIC
;
33
34
$this->tpl = $DIC[
"tpl"
];
35
$tpl
= $DIC[
"tpl"
];
36
$this->obj_definition = $DIC[
"objDefinition"
];
37
$params = $DIC->http()->request()->getQueryParams();
38
$this->requested_ref_id = (int) ($params[
"ref_id"
] ?? 0);
39
40
parent::__construct
(
"cont"
, $a_id, $a_old_nr,
false
, $a_lang);
41
}
42
46
public
function
getProfileBackUrl
()
47
{
48
include_once(
"./Services/Link/classes/class.ilLink.php"
);
49
$link =
ilLink::_getLink
((
int
)
$_GET
[
"ref_id"
]);
50
// make it relative, since profile only accepts relative links as back links
51
$link = substr($link, strpos($link,
"//"
) + 2);
52
$link = substr($link, strpos($link,
"/"
));
53
return
$link;
54
}
55
56
public
function
finishEditing
()
57
{
58
$this->ctrl->returnToParent($this);
59
}
60
65
public
function
getAdditionalPageActions
() : array
66
{
67
$ctrl
=
$this->ctrl
;
68
$ui
=
$this->ui
;
69
$lng
=
$this->lng
;
70
71
$type
=
ilObject::_lookupType
(
72
ilObject::_lookupObjectId
($this->requested_ref_id)
73
);
74
75
$class = $this->obj_definition->getClassName(
$type
);
76
77
$items = [];
78
if
($class !=
""
) {
79
$items[] =
$ui
->factory()->link()->standard(
80
$lng
->txt(
"obj_sty"
),
81
$ctrl
->getLinkTargetByClass([
82
"ilRepositoryGUI"
,
83
"ilObj"
.$class.
"GUI"
84
],
"editStyleProperties"
)
85
);
86
}
87
return
$items;
88
}
89
90
}
ilPageObjectGUI\__construct
__construct( $a_parent_type, $a_id, $a_old_nr=0, $a_prevent_get_id=false, $a_lang="", $concrete_lang="")
Constructor.
Definition:
class.ilPageObjectGUI.php:148
$type
$type
Definition:
proxy_ylocal.php:10
ilContainerPageGUI
Container page GUI class.
Definition:
class.ilContainerPageGUI.php:19
$_GET
$_GET["client_id"]
Definition:
cfg.phpunit.template.php:12
ilPageObjectGUI\$tpl
$tpl
Definition:
class.ilPageObjectGUI.php:30
ilPageObjectGUI
Class ilPageObjectGUI.
Definition:
class.ilPageObjectGUI.php:16
ilContainerPageGUI\getProfileBackUrl
getProfileBackUrl()
Get profile back url.
Definition:
class.ilContainerPageGUI.php:46
ilObject\_lookupObjectId
static _lookupObjectId($a_ref_id)
lookup object id
Definition:
class.ilObject.php:1325
ilContainerPageGUI\$obj_definition
$obj_definition
Definition:
class.ilContainerPageGUI.php:24
ilPageObjectGUI\$lng
$lng
Definition:
class.ilPageObjectGUI.php:35
$DIC
global $DIC
Definition:
goto.php:24
ilContainerPageGUI\finishEditing
finishEditing()
Definition:
class.ilContainerPageGUI.php:56
ilObject\_lookupType
static _lookupType($a_id, $a_reference=false)
lookup object type
Definition:
class.ilObject.php:1281
ilPageObjectGUI\$ctrl
$ctrl
Definition:
class.ilPageObjectGUI.php:40
ilPageObjectGUI\$ui
$ui
Definition:
class.ilPageObjectGUI.php:120
ilContainerPageGUI\getAdditionalPageActions
getAdditionalPageActions()
Get additional page actions.
Definition:
class.ilContainerPageGUI.php:65
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:40
ilLink\_getLink
static _getLink($a_ref_id, $a_type='', $a_params=array(), $append="")
Definition:
class.ilLink.php:17
Services
Container
classes
class.ilContainerPageGUI.php
Generated on Thu Apr 10 2025 21:01:25 for ILIAS by
1.8.13 (using
Doxyfile
)