ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
DomainService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Wiki\Page;
22
26
31{
35
36 public function __construct(
40 ) {
41 $this->repo_service = $repo_service;
42 $this->data_service = $data_service;
43 $this->domain_service = $domain_service;
44 }
45
46 public function getWikiPage(
47 int $ref_id,
48 int $pg_id,
49 int $old_nr = 0,
50 string $lang = "-"
51 ): \ilWikiPage {
52 $wp = new \ilWikiPage(
53 $pg_id,
54 $old_nr,
55 $lang
56 );
58 return $wp;
59 }
60
61 public function page(
62 int $ref_id
63 ): PageManager {
65 $this->data_service,
66 $this->repo_service->page(),
67 $this->domain_service->wiki(),
68 $this,
70 );
71 }
72
73}
Repository internal data service.
Repository internal repo service.
InternalDomainService $domain_service
getWikiPage(int $ref_id, int $pg_id, int $old_nr=0, string $lang="-")
InternalDataService $data_service
InternalRepoService $repo_service
__construct(InternalDataService $data_service, InternalRepoService $repo_service, InternalDomainService $domain_service)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setWikiRefId(int $a_wiki_ref_id)
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$ref_id
Definition: ltiauth.php:66