ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Glossary\Editing\EditingGUIRequest Class Reference
+ Collaboration diagram for ILIAS\Glossary\Editing\EditingGUIRequest:

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getRefId ()
 
 getTermId ()
 
 getTaxNode ()
 
 getNewType ()
 
 getBaseClass ()
 
 getGlossaryRefId ()
 
 getSearchRootExpand ()
 
 getGlossaryIdInModal ()
 
 getForeignGlossaryRefId ()
 
 getStyleId ()
 
 getNewTerm ()
 
 getTermLanguage ()
 
 getFiles ()
 
 getIds ()
 
 getTaxNodes ()
 
 getSelectedGlossaryRefId ()
 
 getInterruptiveItemIds ()
 
 getBulkCreationData ()
 
 getTableGlossaryAutoLinkAction ()
 
 getTableGlossaryAutoLinkIds ()
 
 getTableGlossaryForeignTermAction ()
 
 getTableGlossaryForeignTermIds ()
 
 getTableGlossaryTermListAction ()
 
 getTableGlossaryTermListIds ()
 
 getTermIdsInModal ()
 

Protected Member Functions

 getTableIds (string $key)
 
 getTableAction (string $key)
 

Detailed Description

Definition at line 23 of file class.EditingGUIRequest.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Glossary\Editing\EditingGUIRequest::__construct ( \ILIAS\HTTP\Services  $http,
\ILIAS\Refinery\Factory  $refinery,
?array  $passed_query_params = null,
?array  $passed_post_data = null 
)

Definition at line 27 of file class.EditingGUIRequest.php.

32 {
33 $this->initRequest(
34 $http,
36 $passed_query_params,
37 $passed_post_data
38 );
39 }
$http
Definition: deliver.php:30
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.

References ILIAS\UI\examples\Layout\Page\Standard\$refinery, and ILIAS\Repository\initRequest().

+ Here is the call graph for this function:

Member Function Documentation

◆ getBaseClass()

ILIAS\Glossary\Editing\EditingGUIRequest::getBaseClass ( )

Definition at line 61 of file class.EditingGUIRequest.php.

61 : string
62 {
63 return $this->str("baseClass");
64 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getBulkCreationData()

ILIAS\Glossary\Editing\EditingGUIRequest::getBulkCreationData ( )

Definition at line 142 of file class.EditingGUIRequest.php.

142 : string
143 {
144 return $this->str("bulk_data");
145 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getFiles()

ILIAS\Glossary\Editing\EditingGUIRequest::getFiles ( )
Returns
string[]

Definition at line 108 of file class.EditingGUIRequest.php.

108 : array
109 {
110 return $this->strArray("file");
111 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getForeignGlossaryRefId()

ILIAS\Glossary\Editing\EditingGUIRequest::getForeignGlossaryRefId ( )

Definition at line 85 of file class.EditingGUIRequest.php.

85 : int
86 {
87 return $this->int("fglo_ref_id");
88 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getGlossaryIdInModal()

ILIAS\Glossary\Editing\EditingGUIRequest::getGlossaryIdInModal ( )

Definition at line 80 of file class.EditingGUIRequest.php.

80 : int
81 {
82 return $this->getInterruptiveItemIds()[0];
83 }

References ILIAS\Glossary\Editing\EditingGUIRequest\getInterruptiveItemIds().

+ Here is the call graph for this function:

◆ getGlossaryRefId()

ILIAS\Glossary\Editing\EditingGUIRequest::getGlossaryRefId ( )

Definition at line 66 of file class.EditingGUIRequest.php.

66 : int
67 {
68 $id = $this->int("glo_ref_id");
69 if ($id == 0) {
70 $id = $this->int("root_id");
71 }
72 return $id;
73 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

References $id, and ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getIds()

ILIAS\Glossary\Editing\EditingGUIRequest::getIds ( )
Returns
int[]

Definition at line 116 of file class.EditingGUIRequest.php.

116 : array
117 {
118 return $this->intArray("id");
119 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getInterruptiveItemIds()

ILIAS\Glossary\Editing\EditingGUIRequest::getInterruptiveItemIds ( )
Returns
int[]

Definition at line 137 of file class.EditingGUIRequest.php.

137 : array
138 {
139 return $this->intArray("interruptive_items");
140 }

References ILIAS\Repository\intArray().

Referenced by ILIAS\Glossary\Editing\EditingGUIRequest\getGlossaryIdInModal(), and ILIAS\Glossary\Editing\EditingGUIRequest\getTermIdsInModal().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getNewTerm()

ILIAS\Glossary\Editing\EditingGUIRequest::getNewTerm ( )

Definition at line 95 of file class.EditingGUIRequest.php.

95 : string
96 {
97 return trim($this->str("new_term"));
98 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getNewType()

ILIAS\Glossary\Editing\EditingGUIRequest::getNewType ( )

Definition at line 56 of file class.EditingGUIRequest.php.

56 : string
57 {
58 return $this->str("new_type");
59 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getRefId()

ILIAS\Glossary\Editing\EditingGUIRequest::getRefId ( )

Definition at line 41 of file class.EditingGUIRequest.php.

41 : int
42 {
43 return $this->int("ref_id");
44 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getSearchRootExpand()

ILIAS\Glossary\Editing\EditingGUIRequest::getSearchRootExpand ( )

Definition at line 75 of file class.EditingGUIRequest.php.

75 : int
76 {
77 return $this->int("search_root_expand");
78 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getSelectedGlossaryRefId()

ILIAS\Glossary\Editing\EditingGUIRequest::getSelectedGlossaryRefId ( )

Definition at line 129 of file class.EditingGUIRequest.php.

129 : int
130 {
131 return $this->int("sel_glo_ref_id");
132 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getStyleId()

ILIAS\Glossary\Editing\EditingGUIRequest::getStyleId ( )

Definition at line 90 of file class.EditingGUIRequest.php.

90 : int
91 {
92 return $this->int("style_id");
93 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getTableAction()

ILIAS\Glossary\Editing\EditingGUIRequest::getTableAction ( string  $key)
protected

Definition at line 155 of file class.EditingGUIRequest.php.

155 : string
156 {
157 return $this->str($key);
158 }

References ILIAS\Repository\str().

Referenced by ILIAS\Glossary\Editing\EditingGUIRequest\getTableGlossaryAutoLinkAction(), ILIAS\Glossary\Editing\EditingGUIRequest\getTableGlossaryForeignTermAction(), and ILIAS\Glossary\Editing\EditingGUIRequest\getTableGlossaryTermListAction().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getTableGlossaryAutoLinkAction()

ILIAS\Glossary\Editing\EditingGUIRequest::getTableGlossaryAutoLinkAction ( )

Definition at line 160 of file class.EditingGUIRequest.php.

160 : string
161 {
162 return $this->getTableAction("glo_auto_link_table_action");
163 }

References ILIAS\Glossary\Editing\EditingGUIRequest\getTableAction().

+ Here is the call graph for this function:

◆ getTableGlossaryAutoLinkIds()

ILIAS\Glossary\Editing\EditingGUIRequest::getTableGlossaryAutoLinkIds ( )
Returns
string[]

Definition at line 168 of file class.EditingGUIRequest.php.

168 : array
169 {
170 return $this->getTableIds("glo_auto_link_table_glo_ids");
171 }

References ILIAS\Glossary\Editing\EditingGUIRequest\getTableIds().

+ Here is the call graph for this function:

◆ getTableGlossaryForeignTermAction()

ILIAS\Glossary\Editing\EditingGUIRequest::getTableGlossaryForeignTermAction ( )

Definition at line 173 of file class.EditingGUIRequest.php.

173 : string
174 {
175 return $this->getTableAction("glo_foreign_term_table_action");
176 }

References ILIAS\Glossary\Editing\EditingGUIRequest\getTableAction().

+ Here is the call graph for this function:

◆ getTableGlossaryForeignTermIds()

ILIAS\Glossary\Editing\EditingGUIRequest::getTableGlossaryForeignTermIds ( )
Returns
string[]

Definition at line 181 of file class.EditingGUIRequest.php.

181 : array
182 {
183 return $this->getTableIds("glo_foreign_term_table_term_ids");
184 }

References ILIAS\Glossary\Editing\EditingGUIRequest\getTableIds().

+ Here is the call graph for this function:

◆ getTableGlossaryTermListAction()

ILIAS\Glossary\Editing\EditingGUIRequest::getTableGlossaryTermListAction ( )

Definition at line 186 of file class.EditingGUIRequest.php.

186 : string
187 {
188 return $this->getTableAction("glo_term_list_table_action");
189 }

References ILIAS\Glossary\Editing\EditingGUIRequest\getTableAction().

+ Here is the call graph for this function:

◆ getTableGlossaryTermListIds()

ILIAS\Glossary\Editing\EditingGUIRequest::getTableGlossaryTermListIds ( )
Returns
string[]

Definition at line 194 of file class.EditingGUIRequest.php.

194 : array
195 {
196 return $this->getTableIds("glo_term_list_table_term_ids");
197 }

References ILIAS\Glossary\Editing\EditingGUIRequest\getTableIds().

+ Here is the call graph for this function:

◆ getTableIds()

ILIAS\Glossary\Editing\EditingGUIRequest::getTableIds ( string  $key)
protected
Returns
string[]

Definition at line 150 of file class.EditingGUIRequest.php.

150 : array
151 {
152 return $this->strArray($key);
153 }

References ILIAS\Repository\strArray().

Referenced by ILIAS\Glossary\Editing\EditingGUIRequest\getTableGlossaryAutoLinkIds(), ILIAS\Glossary\Editing\EditingGUIRequest\getTableGlossaryForeignTermIds(), and ILIAS\Glossary\Editing\EditingGUIRequest\getTableGlossaryTermListIds().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getTaxNode()

ILIAS\Glossary\Editing\EditingGUIRequest::getTaxNode ( )

Definition at line 51 of file class.EditingGUIRequest.php.

51 : int
52 {
53 return $this->int("tax_node");
54 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getTaxNodes()

ILIAS\Glossary\Editing\EditingGUIRequest::getTaxNodes ( )
Returns
int[]

Definition at line 124 of file class.EditingGUIRequest.php.

124 : array
125 {
126 return $this->intArray("tax_node");
127 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getTermId()

ILIAS\Glossary\Editing\EditingGUIRequest::getTermId ( )

Definition at line 46 of file class.EditingGUIRequest.php.

46 : int
47 {
48 return $this->int("term_id");
49 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getTermIdsInModal()

ILIAS\Glossary\Editing\EditingGUIRequest::getTermIdsInModal ( )
Returns
int[]

Definition at line 202 of file class.EditingGUIRequest.php.

202 : array
203 {
204 return $this->getInterruptiveItemIds();
205 }

References ILIAS\Glossary\Editing\EditingGUIRequest\getInterruptiveItemIds().

+ Here is the call graph for this function:

◆ getTermLanguage()

ILIAS\Glossary\Editing\EditingGUIRequest::getTermLanguage ( )

Definition at line 100 of file class.EditingGUIRequest.php.

100 : string
101 {
102 return $this->str("term_language");
103 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: