ILIAS  release_7 Revision v7.30-3-g800a261c036
GlossaryPresentationRequest.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
6
13{
18
23
28
33
38
43
48
53
57 public function __construct(array $query_params)
58 {
59 $this->requested_ref_id = (int) $query_params["ref_id"];
60 $this->requested_term_id = (int) $query_params["term_id"];
61 $this->requested_tax_node = (int) $query_params["tax_node"];
62 $this->requested_letter = (string) $query_params["letter"];
63 $this->requested_def_pg_id = (int) $query_params["pg_id"];
64 $this->requested_search_string = (string) $query_params["srcstring"];
65 $this->requested_file_id = (string) $query_params["file_id"];
66 $this->requested_mob_id = (int) $query_params["mob_id"];
67 $this->requested_export_type = (string) $query_params["type"];
68 }
69
73 public function getRequestedMobId() : int
74 {
76 }
77
81 public function getRequestedExportType() : string
82 {
84 }
85
89 public function getRequestedFileId() : string
90 {
92 }
93
97 public function getRequestedSearchString() : string
98 {
99 return $this->requested_search_string;
100 }
101
105 public function getRequestedDefinitionPageId() : int
106 {
108 }
109
113 public function getRequestedRefId() : int
114 {
116 }
117
121 public function getRequestedTermId() : int
122 {
124 }
125
129 public function getRequestedTaxNode() : int
130 {
132 }
133
137 public function getRequestedLetter() : string
138 {
140 }
141}
An exception for terminatinating execution or to throw for unit testing.