ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
GUIService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Wiki\Page;
22 
26 
31 {
34 
35  public function __construct(
36  InternalDomainService $domain_service,
37  InternalGUIService $gui_service
38  ) {
39  $this->gui_service = $gui_service;
40  $this->domain_service = $domain_service;
41  }
42 
43  public function getWikiPageGUI(
44  int $ref_id,
45  int $pg_id,
46  int $old_nr = 0,
47  string $lang = "-"
48  ): \ilWikiPageGUI {
49  return new \ilWikiPageGUI($pg_id, $old_nr, $ref_id, $lang);
50  }
51 }
$ref_id
Definition: ltiauth.php:65
Class ilWikiPage GUI class.
InternalGUIService $gui_service
Definition: GUIService.php:32
$lang
Definition: xapiexit.php:25
__construct(InternalDomainService $domain_service, InternalGUIService $gui_service)
Definition: GUIService.php:35
getWikiPageGUI(int $ref_id, int $pg_id, int $old_nr=0, string $lang="-")
Definition: GUIService.php:43
InternalDomainService $domain_service
Definition: GUIService.php:33