ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
ILIAS\COPage\InternalDomainService Class Reference
+ Collaboration diagram for ILIAS\COPage\InternalDomainService:

Public Member Functions

 __construct (Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
 
 pc (?PCDefinition $def=null)
 
 history ()
 
 xsl ()
 
 domUtil ()
 
 page ()
 
 pageConfig (string $parent_type)
 
 htmlTransformUtil ()
 
 contentIds (\ilPageObject $page)
 
 contentIdGenerator ()
 
 compare ()
 
 link ()
 
 style ()
 
 log ()
 

Protected Attributes

ilLogger $copg_log = null
 
InternalRepoService $repo_service
 
InternalDataService $data_service
 

Detailed Description

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

Definition at line 35 of file class.InternalDomainService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\COPage\InternalDomainService::__construct ( Container  $DIC,
InternalRepoService  $repo_service,
InternalDataService  $data_service 
)

Definition at line 43 of file class.InternalDomainService.php.

47 {
48 $this->repo_service = $repo_service;
49 $this->data_service = $data_service;
50 $this->initDomainServices($DIC);
51 }
initDomainServices(\ILIAS\DI\Container $DIC)

References ILIAS\COPage\InternalDomainService\$data_service, ILIAS\COPage\InternalDomainService\$repo_service, and ILIAS\Repository\initDomainServices().

+ Here is the call graph for this function:

Member Function Documentation

◆ compare()

ILIAS\COPage\InternalDomainService::compare ( )

Definition at line 110 of file class.InternalDomainService.php.

110 : PageCompare
111 {
112 return new PageCompare();
113 }

◆ contentIdGenerator()

ILIAS\COPage\InternalDomainService::contentIdGenerator ( )

Definition at line 105 of file class.InternalDomainService.php.

105 : ID\ContentIdGenerator
106 {
107 return new ID\ContentIdGenerator();
108 }

◆ contentIds()

ILIAS\COPage\InternalDomainService::contentIds ( \ilPageObject  $page)

Definition at line 100 of file class.InternalDomainService.php.

100 : ID\ContentIdManager
101 {
102 return new ID\ContentIdManager($page);
103 }

◆ domUtil()

ILIAS\COPage\InternalDomainService::domUtil ( )

Definition at line 77 of file class.InternalDomainService.php.

77 : Dom\DomUtil
78 {
79 return new Dom\DomUtil();
80 }

◆ history()

ILIAS\COPage\InternalDomainService::history ( )

Definition at line 63 of file class.InternalDomainService.php.

63 : History\HistoryManager
64 {
65 return new History\HistoryManager(
66 $this->data_service,
67 $this->repo_service,
68 $this
69 );
70 }

◆ htmlTransformUtil()

ILIAS\COPage\InternalDomainService::htmlTransformUtil ( )

Definition at line 95 of file class.InternalDomainService.php.

95 : Html\TransformUtil
96 {
97 return new Html\TransformUtil();
98 }

◆ link()

ILIAS\COPage\InternalDomainService::link ( )

Definition at line 115 of file class.InternalDomainService.php.

115 : LinkManager
116 {
117 return new LinkManager();
118 }

◆ log()

ILIAS\COPage\InternalDomainService::log ( )

Definition at line 125 of file class.InternalDomainService.php.

125 : ?\ilLogger
126 {
127 if (isset($this->DIC["ilLoggerFactory"])) {
128 if (is_null($this->copg_log)) {
129 $this->copg_log = $this->logger()->copg();
130 }
131 return $this->copg_log;
132 }
133 return null;
134 }
Component logger with individual log levels by component id.

References ILIAS\COPage\InternalDomainService\$copg_log, and ILIAS\Repository\logger().

Referenced by ILIAS\COPage\PC\InteractiveImage\IIMManager\__construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ page()

ILIAS\COPage\InternalDomainService::page ( )

Definition at line 82 of file class.InternalDomainService.php.

82 : Page\PageManagerInterface
83 {
84 return new Page\PageManager();
85 }

◆ pageConfig()

ILIAS\COPage\InternalDomainService::pageConfig ( string  $parent_type)

Definition at line 87 of file class.InternalDomainService.php.

88 {
90 $class = $def["class_name"] . "Config";
91 $cfg = new $class();
92 return $cfg;
93 }
static getDefinitionByParentType(string $a_parent_type)
Get definition by parent type.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

References ilCOPageObjDef\getDefinitionByParentType().

+ Here is the call graph for this function:

◆ pc()

ILIAS\COPage\InternalDomainService::pc ( ?PCDefinition  $def = null)

Definition at line 53 of file class.InternalDomainService.php.

53 : PC\DomainService
54 {
55 return new PC\DomainService(
56 $this->data_service,
57 $this->repo_service,
58 $this,
59 $def
60 );
61 }

Referenced by ILIAS\COPage\History\HistoryManager\__construct().

+ Here is the caller graph for this function:

◆ style()

ILIAS\COPage\InternalDomainService::style ( )

Definition at line 120 of file class.InternalDomainService.php.

120 : StyleManager
121 {
122 return new StyleManager();
123 }

◆ xsl()

ILIAS\COPage\InternalDomainService::xsl ( )

Definition at line 72 of file class.InternalDomainService.php.

72 : Xsl\XslManager
73 {
74 return new Xsl\XslManager();
75 }

Field Documentation

◆ $copg_log

ilLogger ILIAS\COPage\InternalDomainService::$copg_log = null
protected

◆ $data_service

InternalDataService ILIAS\COPage\InternalDomainService::$data_service
protected

◆ $repo_service

InternalRepoService ILIAS\COPage\InternalDomainService::$repo_service
protected

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