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

Public Member Functions

 __construct (InternalDataService $data_service, InternalRepoService $repo_service, InternalDomainService $domain_service)
 
 getWikiPage (int $ref_id, int $pg_id, int $old_nr=0, string $lang="-")
 
 page (int $ref_id)
 

Protected Attributes

InternalDomainService $domain_service
 
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 30 of file DomainService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Wiki\Page\DomainService::__construct ( InternalDataService  $data_service,
InternalRepoService  $repo_service,
InternalDomainService  $domain_service 
)

Definition at line 36 of file DomainService.php.

40 {
41 $this->repo_service = $repo_service;
42 $this->data_service = $data_service;
43 $this->domain_service = $domain_service;
44 }
InternalDomainService $domain_service
InternalDataService $data_service
InternalRepoService $repo_service

References ILIAS\Wiki\Page\DomainService\$data_service, ILIAS\Wiki\Page\DomainService\$domain_service, and ILIAS\Wiki\Page\DomainService\$repo_service.

Member Function Documentation

◆ getWikiPage()

ILIAS\Wiki\Page\DomainService::getWikiPage ( int  $ref_id,
int  $pg_id,
int  $old_nr = 0,
string  $lang = "-" 
)

Definition at line 46 of file DomainService.php.

51 : \ilWikiPage {
52 $wp = new \ilWikiPage(
53 $pg_id,
54 $old_nr,
55 $lang
56 );
57 $wp->setWikiRefId($ref_id);
58 return $wp;
59 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$ref_id
Definition: ltiauth.php:66

◆ page()

ILIAS\Wiki\Page\DomainService::page ( int  $ref_id)

Definition at line 61 of file DomainService.php.

63 : PageManager {
64 return new PageManager(
65 $this->data_service,
66 $this->repo_service->page(),
67 $this->domain_service->wiki(),
68 $this,
70 );
71 }

Field Documentation

◆ $data_service

InternalDataService ILIAS\Wiki\Page\DomainService::$data_service
protected

Definition at line 34 of file DomainService.php.

Referenced by ILIAS\Wiki\Page\DomainService\__construct().

◆ $domain_service

InternalDomainService ILIAS\Wiki\Page\DomainService::$domain_service
protected

Definition at line 32 of file DomainService.php.

Referenced by ILIAS\Wiki\Page\DomainService\__construct().

◆ $repo_service

InternalRepoService ILIAS\Wiki\Page\DomainService::$repo_service
protected

Definition at line 33 of file DomainService.php.

Referenced by ILIAS\Wiki\Page\DomainService\__construct().


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