ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\LearningModule\Presentation\PresentationGUIRequest Class Reference
+ Collaboration diagram for ILIAS\LearningModule\Presentation\PresentationGUIRequest:

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getRefId ()
 
 getObjId ()
 
 getObjType ()
 
 getTranslation ()
 
 getFocusId ()
 
 getFocusReturn ()
 
 getBackPage ()
 
 getSearchString ()
 
 getFrame ()
 
 getFromPage ()
 
 getMobId ()
 
 getEmbedMode ()
 
 getCmd ()
 
 getPgId ()
 
 getPgType ()
 
 getNotificationSwitch ()
 
 getType ()
 
 getUrl ()
 
 getRating ()
 
 getItems ()
 
 getSelectedType ()
 
 getSelectedObjIds ()
 
 getQuestionPageId ()
 
 getQuestionId ()
 

Data Fields

trait BaseGUIRequest
 Base gui request wrapper. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::__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.PresentationGUIRequest.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

◆ getBackPage()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getBackPage ( )

Definition at line 71 of file class.PresentationGUIRequest.php.

71 : string
72 {
73 return $this->str("back_pg");
74 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getCmd()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getCmd ( )

Definition at line 101 of file class.PresentationGUIRequest.php.

101 : string
102 {
103 if (!$this->isArray("cmd")) {
104 return $this->str("cmd");
105 }
106 return "";
107 }
isArray(string $key)
Check if parameter is an array.

References ILIAS\Repository\isArray(), and ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getEmbedMode()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getEmbedMode ( )

Definition at line 96 of file class.PresentationGUIRequest.php.

96 : int
97 {
98 return $this->int("embed_mode");
99 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getFocusId()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getFocusId ( )

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

61 : int
62 {
63 return $this->int("focus_id");
64 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getFocusReturn()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getFocusReturn ( )

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

66 : int
67 {
68 return $this->int("focus_return");
69 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getFrame()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getFrame ( )

Definition at line 81 of file class.PresentationGUIRequest.php.

81 : string
82 {
83 return $this->str("frame");
84 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getFromPage()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getFromPage ( )

Definition at line 86 of file class.PresentationGUIRequest.php.

86 : string
87 {
88 return $this->str("from_page");
89 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getItems()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getItems ( )

Definition at line 139 of file class.PresentationGUIRequest.php.

139 : array
140 {
141 return $this->strArray("item");
142 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getMobId()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getMobId ( )

Definition at line 91 of file class.PresentationGUIRequest.php.

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getNotificationSwitch()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getNotificationSwitch ( )

Definition at line 119 of file class.PresentationGUIRequest.php.

119 : int
120 {
121 return $this->int("ntf");
122 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getObjId()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getObjId ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getObjType()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getObjType ( )

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

51 : string
52 {
53 return $this->str("obj_type");
54 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getPgId()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getPgId ( )

Definition at line 109 of file class.PresentationGUIRequest.php.

109 : int
110 {
111 return $this->int("pg_id");
112 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPgType()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getPgType ( )

Definition at line 114 of file class.PresentationGUIRequest.php.

114 : string
115 {
116 return $this->str("pg_type");
117 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getQuestionId()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getQuestionId ( )

Definition at line 159 of file class.PresentationGUIRequest.php.

159 : int
160 {
161 return $this->int("id");
162 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getQuestionPageId()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getQuestionPageId ( )

Definition at line 154 of file class.PresentationGUIRequest.php.

154 : int
155 {
156 return $this->int("page_id");
157 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getRating()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getRating ( )

Definition at line 134 of file class.PresentationGUIRequest.php.

134 : int
135 {
136 return $this->int("rating");
137 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getRefId()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getRefId ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getSearchString()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getSearchString ( )

Definition at line 76 of file class.PresentationGUIRequest.php.

76 : string
77 {
78 return $this->str("srcstring");
79 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getSelectedObjIds()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getSelectedObjIds ( )

Definition at line 149 of file class.PresentationGUIRequest.php.

149 : array
150 {
151 return $this->intArray("obj_id");
152 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getSelectedType()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getSelectedType ( )

Definition at line 144 of file class.PresentationGUIRequest.php.

144 : string
145 {
146 return $this->str("sel_type");
147 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getTranslation()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getTranslation ( )

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

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getType()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getType ( )

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

124 : string
125 {
126 return $this->str("type");
127 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getUrl()

ILIAS\LearningModule\Presentation\PresentationGUIRequest::getUrl ( )

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

129 : string
130 {
131 return $this->str("url");
132 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

Field Documentation

◆ BaseGUIRequest

trait ILIAS\Repository::BaseGUIRequest

Base gui request wrapper.

This class processes all request parameters which are not handled by form classes already. POST overwrites GET with the same name. POST/GET parameters may be passed to the class for testing purposes.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 33 of file trait.BaseGUIRequest.php.


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