ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
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
public
function
__construct
($a_id = 0, $a_old_nr = 0, $a_lang =
""
)
25
{
26
global
$DIC
;
27
28
$this->tpl = $DIC[
"tpl"
];
29
$tpl
= $DIC[
"tpl"
];
30
31
parent::__construct(
"cont"
, $a_id, $a_old_nr,
false
, $a_lang);
32
}
33
37
public
function
getProfileBackUrl
()
38
{
39
include_once(
"./Services/Link/classes/class.ilLink.php"
);
40
$link =
ilLink::_getLink
((
int
)
$_GET
[
"ref_id"
]);
41
// make it relative, since profile only accepts relative links as back links
42
$link = substr($link, strpos($link,
"//"
) + 2);
43
$link = substr($link, strpos($link,
"/"
));
44
return
$link;
45
}
46
}
$DIC
global $DIC
Definition:
saml.php:7
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:35
ilPageObjectGUI
Class ilPageObjectGUI.
Definition:
class.ilPageObjectGUI.php:30
ilContainerPageGUI\__construct
__construct($a_id=0, $a_old_nr=0, $a_lang="")
Constructor.
Definition:
class.ilContainerPageGUI.php:24
ilContainerPageGUI\getProfileBackUrl
getProfileBackUrl()
Get profile back url.
Definition:
class.ilContainerPageGUI.php:37
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 Sat Jan 18 2025 19:01:28 for ILIAS by
1.8.13 (using
Doxyfile
)