ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 ()
 
 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 102 of file class.InternalDomainService.php.

102 : PageCompare
103 {
104 return new PageCompare();
105 }

◆ contentIdGenerator()

ILIAS\COPage\InternalDomainService::contentIdGenerator ( )

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

97 : ID\ContentIdGenerator
98 {
99 return new ID\ContentIdGenerator();
100 }

◆ contentIds()

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

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

92 : ID\ContentIdManager
93 {
94 return new ID\ContentIdManager($page);
95 }

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

87 : Html\TransformUtil
88 {
89 return new Html\TransformUtil();
90 }

◆ link()

ILIAS\COPage\InternalDomainService::link ( )

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

107 : LinkManager
108 {
109 return new LinkManager();
110 }

◆ log()

ILIAS\COPage\InternalDomainService::log ( )

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

117 : ?\ilLogger
118 {
119 if (isset($this->DIC["ilLoggerFactory"])) {
120 if (is_null($this->copg_log)) {
121 $this->copg_log = $this->logger()->copg();
122 }
123 return $this->copg_log;
124 }
125 return null;
126 }
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 }

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

112 : StyleManager
113 {
114 return new StyleManager();
115 }

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