ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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.

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

40  {
41  $this->repo_service = $repo_service;
42  $this->data_service = $data_service;
43  $this->domain_service = $domain_service;
44  }
InternalRepoService $repo_service
InternalDomainService $domain_service
InternalDataService $data_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.

References $lang.

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

◆ page()

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

Definition at line 61 of file DomainService.php.

References $ref_id.

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

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: