ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ILIAS\UI\Implementation\Component\Layout\Page\PageManager Class Reference
+ Inheritance diagram for ILIAS\UI\Implementation\Component\Layout\Page\PageManager:
+ Collaboration diagram for ILIAS\UI\Implementation\Component\Layout\Page\PageManager:

Public Member Functions

 __construct ()
 
 get (string $parent_type, int $id=0, int $old_nr=0, string $lang="-")
 
 content (\DOMDocument $dom)
 
 contentFromXml ($xml)
 

Protected Attributes

ILIAS COPage Dom DomUtil $dom_util
 

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 26 of file class.PageManager.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\UI\Implementation\Component\Layout\Page\PageManager::__construct ( )

Definition at line 30 of file class.PageManager.php.

References $DIC.

31  {
32  global $DIC;
33  $this->dom_util = $DIC->copage()->internal()->domain()->domUtil();
34  }
global $DIC
Definition: shib_login.php:26

Member Function Documentation

◆ content()

ILIAS\UI\Implementation\Component\Layout\Page\PageManager::content ( \DOMDocument  $dom)

Definition at line 50 of file class.PageManager.php.

50  : PageContentManager
51  {
52  return new PageContentManager($dom);
53  }

◆ contentFromXml()

ILIAS\UI\Implementation\Component\Layout\Page\PageManager::contentFromXml (   $xml)

Definition at line 55 of file class.PageManager.php.

References ILIAS\$error.

55  : PageContentManager
56  {
57  $error = "";
58  $dom = $this->dom_util->docFromString($xml, $error);
59  return new PageContentManager($dom);
60  }
ilErrorHandling $error
Definition: class.ilias.php:69

◆ get()

ILIAS\UI\Implementation\Component\Layout\Page\PageManager::get ( string  $parent_type,
int  $id = 0,
int  $old_nr = 0,
string  $lang = "-" 
)

Implements ILIAS\UI\Implementation\Component\Layout\Page\PageManagerInterface.

Definition at line 36 of file class.PageManager.php.

41  : \ilPageObject {
42  return \ilPageObjectFactory::getInstance(
43  $parent_type,
44  $id,
45  $old_nr,
46  $lang
47  );
48  }
Class ilPageObject Handles PageObjects of ILIAS Learning Modules (see ILIAS DTD)
$lang
Definition: xapiexit.php:25
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

Field Documentation

◆ $dom_util

ILIAS COPage Dom DomUtil ILIAS\UI\Implementation\Component\Layout\Page\PageManager::$dom_util
protected

Definition at line 28 of file class.PageManager.php.


The documentation for this class was generated from the following file: