ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
DomainService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Wiki\Content;
22 
26 
31 {
35 
36  public function __construct(
37  InternalDataService $data_service,
38  InternalRepoService $repo_service,
39  InternalDomainService $domain_service
40  ) {
41  $this->repo_service = $repo_service;
42  $this->data_service = $data_service;
43  $this->domain_service = $domain_service;
44  }
45 
46  public function navigation(
47  \ilObjWiki $wiki,
48  int $wpg_id = 0,
49  string $page_title = "",
50  string $lang = "-"
52  return new NavigationManager(
53  $this->domain_service->page()->page($wiki->getRefId()),
54  $wiki,
55  $wpg_id,
56  $page_title,
57  $lang
58  );
59  }
60 }
InternalDataService $data_service
__construct(InternalDataService $data_service, InternalRepoService $repo_service, InternalDomainService $domain_service)
navigation(\ilObjWiki $wiki, int $wpg_id=0, string $page_title="", string $lang="-")
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$lang
Definition: xapiexit.php:25
InternalDomainService $domain_service
InternalRepoService $repo_service