ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.PageManager.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\COPage\Page
;
22
26
class
PageManager
implements
PageManagerInterface
27
{
28
protected \ILIAS\COPage\Dom\DomUtil
$dom_util
;
29
30
public
function
__construct
()
31
{
32
global
$DIC
;
33
$this->dom_util = $DIC->copage()->internal()->domain()->domUtil();
34
}
35
36
public
function
get
(
37
string
$parent_type,
38
int
$id
= 0,
39
int
$old_nr = 0,
40
string
$lang
=
"-"
41
): \
ilPageObject
{
42
return \ilPageObjectFactory::getInstance(
43
$parent_type,
44
$id,
45
$old_nr,
46
$lang
47
);
48
}
49
50
public
function
content
(\
DOMDocument
$dom):
PageContentManager
51
{
52
return
new
PageContentManager
($dom);
53
}
54
55
public
function
contentFromXml
($xml):
PageContentManager
56
{
57
$error
=
""
;
58
$dom = $this->dom_util->docFromString($xml,
$error
);
59
return
new
PageContentManager
($dom);
60
}
61
}
DOMDocument
ILIAS\UI\Implementation\Component\Layout\Page\PageManagerInterface
Definition:
interface.PageManagerInterface.php:26
ILIAS\UI\Implementation\Component\Layout\Page\PageManager\$dom_util
ILIAS COPage Dom DomUtil $dom_util
Definition:
class.PageManager.php:28
ILIAS\UI\Implementation\Component\Layout\Page\PageManager\content
content(\DOMDocument $dom)
Definition:
class.PageManager.php:50
ILIAS\UI\Implementation\Component\Layout\Page\PageContentManager
Definition:
class.PageContentManager.php:28
ILIAS\UI\Implementation\Component\Layout\Page\PageManager\contentFromXml
contentFromXml($xml)
Definition:
class.PageManager.php:55
ILIAS\UI\Implementation\Component\Layout\Page\PageManager
Definition:
class.PageManager.php:26
ILIAS\COPage\Page
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.EditGUIRequest.php:19
ilPageObject
Class ilPageObject Handles PageObjects of ILIAS Learning Modules (see ILIAS DTD)
Definition:
class.ilPageObject.php:52
$DIC
global $DIC
Definition:
shib_login.php:26
$lang
$lang
Definition:
xapiexit.php:25
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
ILIAS\$error
ilErrorHandling $error
Definition:
class.ilias.php:69
ILIAS\UI\Implementation\Component\Layout\Page\PageManager\__construct
__construct()
Definition:
class.PageManager.php:30
components
ILIAS
COPage
Page
class.PageManager.php
Generated on Sun Aug 31 2025 23:02:37 for ILIAS by
1.8.13 (using
Doxyfile
)