ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\COPage\PC\DomainService Class Reference
+ Collaboration diagram for ILIAS\COPage\PC\DomainService:

Public Member Functions

 __construct (InternalDataService $data_service, InternalRepoService $repo_service, InternalDomainService $domain_service, ?PCDefinition $pc_definition=null)
 
 getByNode (?\DOMNode $node, \ilPageObject $page_object)
 
 definition ()
 
 paragraph ()
 
 fileList ()
 
 mediaObject ()
 
 question ()
 
 interactiveImage ()
 
 resources ()
 
 plugged ()
 

Protected Attributes

PCFactory $pc_factory
 
PCDefinition $def
 
InternalRepoService $repo_service
 
InternalDataService $data_service
 
InternalDomainService $domain_service
 

Detailed Description

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

Definition at line 38 of file class.DomainService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\COPage\PC\DomainService::__construct ( InternalDataService  $data_service,
InternalRepoService  $repo_service,
InternalDomainService  $domain_service,
?PCDefinition  $pc_definition = null 
)

Definition at line 46 of file class.DomainService.php.

51 {
52 $this->repo_service = $repo_service;
53 $this->data_service = $data_service;
54 $this->domain_service = $domain_service;
55 $this->def = $pc_definition;
56 $this->pc_factory = new PCFactory(
57 $this->definition()
58 );
59 }
InternalDomainService $domain_service

References ILIAS\COPage\PC\DomainService\$data_service, ILIAS\COPage\PC\DomainService\$domain_service, ILIAS\COPage\PC\DomainService\$repo_service, and ILIAS\COPage\PC\DomainService\definition().

+ Here is the call graph for this function:

Member Function Documentation

◆ definition()

ILIAS\COPage\PC\DomainService::definition ( )

Definition at line 68 of file class.DomainService.php.

68 : PCDefinition
69 {
70 return $this->def ?? new PCDefinition();
71 }

Referenced by ILIAS\COPage\PC\DomainService\__construct().

+ Here is the caller graph for this function:

◆ fileList()

ILIAS\COPage\PC\DomainService::fileList ( )

Definition at line 78 of file class.DomainService.php.

78 : FileListManager
79 {
80 return new FileListManager();
81 }

◆ getByNode()

ILIAS\COPage\PC\DomainService::getByNode ( ?\DOMNode  $node,
\ilPageObject  $page_object 
)

Definition at line 61 of file class.DomainService.php.

65 return $this->pc_factory->getByNode($node, $page_object);
66 }
Content object of ilPageObject (see ILIAS DTD).

◆ interactiveImage()

ILIAS\COPage\PC\DomainService::interactiveImage ( )

Definition at line 93 of file class.DomainService.php.

93 : InteractiveImage\IIMManager
94 {
95 return new InteractiveImage\IIMManager(
96 $this->domain_service
97 );
98 }

◆ mediaObject()

ILIAS\COPage\PC\DomainService::mediaObject ( )

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

83 : MediaObjectManager
84 {
85 return new MediaObjectManager();
86 }

◆ paragraph()

ILIAS\COPage\PC\DomainService::paragraph ( )

Definition at line 73 of file class.DomainService.php.

73 : ParagraphManager
74 {
75 return new ParagraphManager();
76 }

◆ plugged()

ILIAS\COPage\PC\DomainService::plugged ( )

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

105 : PluggedManager
106 {
107 return new PluggedManager();
108 }

◆ question()

ILIAS\COPage\PC\DomainService::question ( )

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

88 : QuestionManager
89 {
90 return new QuestionManager();
91 }

◆ resources()

ILIAS\COPage\PC\DomainService::resources ( )

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

100 : ResourcesManager
101 {
102 return new ResourcesManager();
103 }

Field Documentation

◆ $data_service

InternalDataService ILIAS\COPage\PC\DomainService::$data_service
protected

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

Referenced by ILIAS\COPage\PC\DomainService\__construct().

◆ $def

PCDefinition ILIAS\COPage\PC\DomainService::$def
protected

Definition at line 41 of file class.DomainService.php.

◆ $domain_service

InternalDomainService ILIAS\COPage\PC\DomainService::$domain_service
protected

Definition at line 44 of file class.DomainService.php.

Referenced by ILIAS\COPage\PC\DomainService\__construct().

◆ $pc_factory

PCFactory ILIAS\COPage\PC\DomainService::$pc_factory
protected

Definition at line 40 of file class.DomainService.php.

◆ $repo_service

InternalRepoService ILIAS\COPage\PC\DomainService::$repo_service
protected

Definition at line 42 of file class.DomainService.php.

Referenced by ILIAS\COPage\PC\DomainService\__construct().


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