ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.StandardGUIRequest.php
Go to the documentation of this file.
1 <?php
2 
19 namespace ILIAS\Notes;
20 
22 
24 {
25  use BaseGUIRequest;
26 
27  public function __construct(
30  ?array $passed_query_params = null,
31  ?array $passed_post_data = null
32  ) {
33  $this->initRequest(
34  $http,
35  $refinery,
38  );
39  }
40 
41  public function getRelatedObjId(): int
42  {
43  return $this->int("rel_obj");
44  }
45 
46  public function getNoteType(): int
47  {
48  return $this->int("note_type");
49  }
50 
51  public function getNoteId(): int
52  {
53  return $this->int("note_id");
54  }
55 
56  public function getNoteIds(): array
57  {
58  return $this->intArray("note");
59  }
60 
61  public function getNoteMess(): string
62  {
63  return $this->str("note_mess");
64  }
65 
66  public function getNoteText(): string
67  {
68  return $this->str("note");
69  }
70 
71  public function getNoteSubject(): string
72  {
73  return $this->str("sub_note");
74  }
75 
76  public function getNoteLabel(): string
77  {
78  return $this->str("note_label");
79  }
80 
81  public function getOnly(): string
82  {
83  return $this->str("notes_only");
84  }
85 
86  public function getNewsId(): int
87  {
88  return $this->int("news_id");
89  }
90 
91  public function getSortation(): string
92  {
93  return $this->str("sortation");
94  }
95 
96  public function isFilterCommand(): bool
97  {
98  return ($this->str("cmdFilter") !== "");
99  }
100 }
Class ChatMainBarProvider .
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
initRequest(HTTP\Services $http, Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
Query params and post data parameters are used for testing.
__construct(\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
trait BaseGUIRequest
Base gui request wrapper.
$http
Definition: raiseError.php:7
Refinery Factory $refinery