ILIAS  trunk Revision v12.0_alpha-1540-g00f839d5fa1
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 ()
 
 fileListRetrieval (\ilPCFileList $file_list)
 
 mediaObject ()
 
 question ()
 
 selfAssQuestionRetrieval (int $pool_ref_id, int $pool_obj_id)
 
 interactiveImage ()
 
 resources ()
 
 plugged ()
 
 gridCellRetrieval (\ilPCGrid $grid)
 

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 39 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 47 of file class.DomainService.php.

52 {
53 $this->repo_service = $repo_service;
54 $this->data_service = $data_service;
55 $this->domain_service = $domain_service;
56 $this->def = $pc_definition;
57 $this->pc_factory = new PCFactory(
58 $this->definition()
59 );
60 }
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 69 of file class.DomainService.php.

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

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

+ Here is the caller graph for this function:

◆ fileList()

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

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

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

◆ fileListRetrieval()

ILIAS\COPage\PC\DomainService::fileListRetrieval ( \ilPCFileList  $file_list)

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

84 : FileList\FileListRetrieval
85 {
86 return new FileList\FileListRetrieval(
87 $this->domain_service,
88 $file_list
89 );
90 }

◆ getByNode()

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

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

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

◆ gridCellRetrieval()

ILIAS\COPage\PC\DomainService::gridCellRetrieval ( \ilPCGrid  $grid)

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

128 : GridCellRetrieval
129 {
130 return new GridCellRetrieval(
131 $grid
132 );
133 }

◆ interactiveImage()

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

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

111 : InteractiveImage\IIMManager
112 {
113 return new InteractiveImage\IIMManager(
114 $this->domain_service
115 );
116 }

◆ mediaObject()

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

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

92 : MediaObjectManager
93 {
94 return new MediaObjectManager();
95 }

◆ paragraph()

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

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

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

◆ plugged()

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

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

123 : PluggedManager
124 {
125 return new PluggedManager();
126 }

◆ question()

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

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

97 : QuestionManager
98 {
99 return new QuestionManager();
100 }

◆ resources()

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

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

118 : ResourcesManager
119 {
120 return new ResourcesManager();
121 }

◆ selfAssQuestionRetrieval()

ILIAS\COPage\PC\DomainService::selfAssQuestionRetrieval ( int  $pool_ref_id,
int  $pool_obj_id 
)

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

102 : Question\SelfAssQuestionRetrieval
103 {
104 return new Question\SelfAssQuestionRetrieval(
105 $this->domain_service,
106 $pool_ref_id,
107 $pool_obj_id
108 );
109 }

Field Documentation

◆ $data_service

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

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

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

◆ $def

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

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

◆ $domain_service

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

Definition at line 45 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 41 of file class.DomainService.php.

◆ $repo_service

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

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

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


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