ILIAS  release_8 Revision v8.25
class.EditingGUIRequest.php
Go to the documentation of this file.
1<?php
2
20
22
24{
26
27 public function __construct(
28 \ILIAS\HTTP\Services $http,
29 \ILIAS\Refinery\Factory $refinery,
30 ?array $passed_query_params = null,
31 ?array $passed_post_data = null
32 ) {
33 $this->initRequest(
34 $http,
38 );
39 }
40
41 public function getRefId(): int
42 {
43 return $this->int("ref_id");
44 }
45
46 public function getTermId(): int
47 {
48 return $this->int("term_id");
49 }
50
51 public function getDefinitionId(): int
52 {
53 return $this->int("def");
54 }
55
56 public function getTaxNode(): int
57 {
58 return $this->int("tax_node");
59 }
60
61 public function getNewType(): string
62 {
63 return $this->str("new_type");
64 }
65
66 public function getBaseClass(): string
67 {
68 return $this->str("baseClass");
69 }
70
71 public function getGlossaryRefId(): int
72 {
73 $id = $this->int("glo_ref_id");
74 if ($id == 0) {
75 $id = $this->int("root_id");
76 }
77 return $id;
78 }
79
80 public function getSearchRootExpand(): int
81 {
82 return $this->int("search_root_expand");
83 }
84
85 public function getGlossaryId(): int
86 {
87 return $this->int("glo_id");
88 }
89
90 public function getForeignGlossaryRefId(): int
91 {
92 return $this->int("fglo_ref_id");
93 }
94
95 public function getStyleId(): int
96 {
97 return $this->int("style_id");
98 }
99
100 public function getNewTerm(): string
101 {
102 return trim($this->str("new_term"));
103 }
104
105 public function getTermLanguage(): string
106 {
107 return $this->str("term_language");
108 }
109
113 public function getFiles(): array
114 {
115 return $this->strArray("file");
116 }
117
121 public function getIds(): array
122 {
123 return $this->intArray("id");
124 }
125
129 public function getTermIds(): array
130 {
131 return $this->intArray("term_id");
132 }
133
137 public function getTaxNodes(): array
138 {
139 return $this->intArray("tax_node");
140 }
141}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
__construct(\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Refinery Factory $refinery
trait BaseGUIRequest
Base gui request wrapper.
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.
Class ChatMainBarProvider \MainMenu\Provider.
$http
Definition: raiseError.php:7