ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.GUIService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Survey\PrintView;
22 
27 
32 {
34  protected \ilObjectServiceInterface $object_service;
36 
37  public function __construct(
38  InternalGUIService $ui_service,
39  \ilObjectServiceInterface $object_service,
40  InternalDomainService $domain_service
41  ) {
42  $this->ui_service = $ui_service;
43  $this->object_service = $object_service;
44  $this->domain_service = $domain_service;
45  }
46 
47  public function page(int $ref_id): PrintProcessGUI
48  {
50  $this->domain_service->lng(),
51  $this->ui_service->ctrl(),
52  $ref_id
53  );
54  return $this->getPrintProcessGUI($provider);
55  }
56 
57  public function list(int $ref_id): PrintProcessGUI
58  {
60  $this->domain_service->lng(),
61  $this->ui_service->ctrl(),
62  $ref_id
63  );
64  return $this->getPrintProcessGUI($provider);
65  }
66 
67 
68  public function resultsOverview(int $ref_id): PrintProcessGUI
69  {
71  $this->domain_service->lng(),
72  $this->ui_service->ctrl(),
73  $ref_id
74  );
75  return $this->getPrintProcessGUI($provider);
76  }
77 
78  public function resultsDetails(int $ref_id): PrintProcessGUI
79  {
81  $this->domain_service->lng(),
82  $this->ui_service->ctrl(),
83  $ref_id
84  );
85  return $this->getPrintProcessGUI($provider);
86  }
87 
88  public function resultsPerUser(int $ref_id): PrintProcessGUI
89  {
91  $this->domain_service->lng(),
92  $this->ui_service->ctrl(),
93  $ref_id
94  );
95  return $this->getPrintProcessGUI($provider);
96  }
97 
99  {
100  return new PrintProcessGUI(
101  $provider,
102  $this->ui_service->http(),
103  $this->ui_service->ui(),
104  $this->domain_service->lng()
105  );
106  }
107 }
__construct(InternalGUIService $ui_service, \ilObjectServiceInterface $object_service, InternalDomainService $domain_service)
getPrintProcessGUI(PrintViewProvider $provider)
$provider
Definition: ltitoken.php:83
$ref_id
Definition: ltiauth.php:67
ilObjectServiceInterface $object_service
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
InternalDomainService $domain_service
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...