ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
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 ()
 

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 37 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 45 of file class.DomainService.php.

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().

50  {
51  $this->repo_service = $repo_service;
52  $this->data_service = $data_service;
53  $this->domain_service = $domain_service;
54  $this->def = $pc_definition;
55  $this->pc_factory = new PCFactory(
56  $this->definition()
57  );
58  }
InternalDomainService $domain_service
+ Here is the call graph for this function:

Member Function Documentation

◆ definition()

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

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

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

67  : PCDefinition
68  {
69  return $this->def ?? new PCDefinition();
70  }
+ Here is the caller graph for this function:

◆ fileList()

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

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

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

◆ getByNode()

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

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

63  : ?\ilPageContent {
64  return $this->pc_factory->getByNode($node, $page_object);
65  }
Content object of ilPageObject (see ILIAS DTD).

◆ interactiveImage()

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

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

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

◆ mediaObject()

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

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

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

◆ paragraph()

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

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

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

◆ question()

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

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

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

◆ resources()

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

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

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

Field Documentation

◆ $data_service

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

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

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

◆ $def

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

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

◆ $domain_service

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

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

◆ $repo_service

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

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

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


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