ILIAS  trunk Revision v12.0_alpha-1540-g00f839d5fa1
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 ()
 
 historyRetrieval (int $page_id, string $parent_type, string $lang)
 
 xsl ()
 
 domUtil ()
 
 page ()
 
 pageConfig (string $parent_type)
 
 htmlTransformUtil ()
 
 contentIds (\ilPageObject $page)
 
 contentIdGenerator ()
 
 compare ()
 
 link ()
 
 style ()
 
 log ()
 
 layoutRetrieval ()
 
 testQuestion ()
 

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 121 of file class.InternalDomainService.php.

121 : PageCompare
122 {
123 return new PageCompare();
124 }

◆ contentIdGenerator()

ILIAS\COPage\InternalDomainService::contentIdGenerator ( )

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

116 : ID\ContentIdGenerator
117 {
118 return new ID\ContentIdGenerator();
119 }

◆ contentIds()

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

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

111 : ID\ContentIdManager
112 {
113 return new ID\ContentIdManager($page);
114 }

◆ domUtil()

ILIAS\COPage\InternalDomainService::domUtil ( )

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

88 : Dom\DomUtil
89 {
90 return new Dom\DomUtil();
91 }

◆ 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 }

◆ historyRetrieval()

ILIAS\COPage\InternalDomainService::historyRetrieval ( int  $page_id,
string  $parent_type,
string  $lang 
)

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

72 : History\HistoryRetrieval
73 {
74 return new History\HistoryRetrieval(
75 $this->repo_service->history(),
76 $this->DIC->database(),
77 $page_id,
78 $parent_type,
79 $lang
80 );
81 }

◆ htmlTransformUtil()

ILIAS\COPage\InternalDomainService::htmlTransformUtil ( )

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

106 : Html\TransformUtil
107 {
108 return new Html\TransformUtil();
109 }

◆ layoutRetrieval()

ILIAS\COPage\InternalDomainService::layoutRetrieval ( )

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

147 : Layout\PageLayoutRetrieval
148 {
149 return new Layout\PageLayoutRetrieval();
150 }

◆ link()

ILIAS\COPage\InternalDomainService::link ( )

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

126 : LinkManager
127 {
128 return new LinkManager();
129 }

◆ log()

ILIAS\COPage\InternalDomainService::log ( )

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

136 : ?\ilLogger
137 {
138 if (isset($this->DIC["ilLoggerFactory"])) {
139 if (is_null($this->copg_log)) {
140 $this->copg_log = $this->logger()->copg();
141 }
142 return $this->copg_log;
143 }
144 return null;
145 }
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 93 of file class.InternalDomainService.php.

93 : Page\PageManagerInterface
94 {
95 return new Page\PageManager();
96 }

◆ pageConfig()

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

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

99 {
101 $class = $def["class_name"] . "Config";
102 $cfg = new $class();
103 return $cfg;
104 }
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 131 of file class.InternalDomainService.php.

131 : StyleManager
132 {
133 return new StyleManager();
134 }

◆ testQuestion()

ILIAS\COPage\InternalDomainService::testQuestion ( )

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

Referenced by ILIAS\COPage\PC\Question\CopySelfAssQuestionTableBuilder\__construct().

+ Here is the caller graph for this function:

◆ xsl()

ILIAS\COPage\InternalDomainService::xsl ( )

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

83 : Xsl\XslManager
84 {
85 return new Xsl\XslManager();
86 }

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: