ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\BookingManager\StandardGUIRequest Class Reference
+ Collaboration diagram for ILIAS\BookingManager\StandardGUIRequest:

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getRefId ()
 
 getPoolRefId ()
 
 getObjectId ()
 
 getMessage ()
 
 getUserId ()
 
 getBookedUser ()
 
 getScheduleId ()
 
 getStatus ()
 
 getReservationIdsFromString ()
 
 getReturnTo ()
 
 getReservationId ()
 
 getReservationIds ()
 
 getSeed ()
 
 getSSeed ()
 
 getNotification ()
 
 getParticipants ()
 
 getDates ()
 
 getDate ()
 
 getRece ()
 
 getRecm ()
 
 getUserLogin ()
 
 getGroupId ()
 
 getCancelNr ($id)
 
 getReplaceSignal ()
 
 getReturnCmd ()
 
 getSlot ()
 
 getSlotFrom ()
 
 getSlotTo ()
 
 getRecurrence ()
 
 getNr ()
 
 getUntil ()
 
 getObjectIds ()
 
 getBulkCreationData ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\BookingManager\StandardGUIRequest::__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.StandardGUIRequest.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

◆ getBookedUser()

ILIAS\BookingManager\StandardGUIRequest::getBookedUser ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getBulkCreationData()

ILIAS\BookingManager\StandardGUIRequest::getBulkCreationData ( )

Definition at line 223 of file class.StandardGUIRequest.php.

223 : string
224 {
225 return $this->str("data");
226 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getCancelNr()

ILIAS\BookingManager\StandardGUIRequest::getCancelNr (   $id)

Definition at line 169 of file class.StandardGUIRequest.php.

169 : int
170 {
171 return $this->int("rsv_id_" . $id);
172 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

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

+ Here is the call graph for this function:

◆ getDate()

ILIAS\BookingManager\StandardGUIRequest::getDate ( )

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

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getDates()

ILIAS\BookingManager\StandardGUIRequest::getDates ( )

Definition at line 135 of file class.StandardGUIRequest.php.

135 : array
136 {
137 $dates = $this->strArray("date");
138 if (count($dates) === 0 && $this->str("date") !== "") {
139 return [$this->str("date")];
140 }
141 return $dates;
142 }

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

+ Here is the call graph for this function:

◆ getGroupId()

ILIAS\BookingManager\StandardGUIRequest::getGroupId ( )

Definition at line 164 of file class.StandardGUIRequest.php.

164 : int
165 {
166 return $this->int("grp_id");
167 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getMessage()

ILIAS\BookingManager\StandardGUIRequest::getMessage ( )

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

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getNotification()

ILIAS\BookingManager\StandardGUIRequest::getNotification ( )

Definition at line 121 of file class.StandardGUIRequest.php.

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getNr()

ILIAS\BookingManager\StandardGUIRequest::getNr ( )

Definition at line 208 of file class.StandardGUIRequest.php.

208 : int
209 {
210 return $this->int("nr");
211 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getObjectId()

ILIAS\BookingManager\StandardGUIRequest::getObjectId ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getObjectIds()

ILIAS\BookingManager\StandardGUIRequest::getObjectIds ( )

Definition at line 218 of file class.StandardGUIRequest.php.

218 : array
219 {
220 return $this->intArray("object_id");
221 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getParticipants()

ILIAS\BookingManager\StandardGUIRequest::getParticipants ( )

Definition at line 126 of file class.StandardGUIRequest.php.

126 : array
127 {
128 $p = $this->intArray("mass");
129 if (count($p) === 0) {
130 $p = $this->intArray("participants");
131 }
132 return $p;
133 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getPoolRefId()

ILIAS\BookingManager\StandardGUIRequest::getPoolRefId ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getRece()

ILIAS\BookingManager\StandardGUIRequest::getRece ( )

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

149 : string
150 {
151 return $this->str("rece");
152 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getRecm()

ILIAS\BookingManager\StandardGUIRequest::getRecm ( )

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

154 : string
155 {
156 return $this->str("recm");
157 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getRecurrence()

ILIAS\BookingManager\StandardGUIRequest::getRecurrence ( )

Definition at line 203 of file class.StandardGUIRequest.php.

203 : string
204 {
205 return $this->str("recurrence");
206 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getRefId()

ILIAS\BookingManager\StandardGUIRequest::getRefId ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getReplaceSignal()

ILIAS\BookingManager\StandardGUIRequest::getReplaceSignal ( )

Definition at line 174 of file class.StandardGUIRequest.php.

174 : string
175 {
176 return $this->str("replaceSignal");
177 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getReservationId()

ILIAS\BookingManager\StandardGUIRequest::getReservationId ( )

Definition at line 94 of file class.StandardGUIRequest.php.

94 : string
95 {
96 return $this->str("reservation_id");
97 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getReservationIds()

ILIAS\BookingManager\StandardGUIRequest::getReservationIds ( )

Definition at line 99 of file class.StandardGUIRequest.php.

99 : array
100 {
101 $ids = $this->strArray("mrsv");
102 if (count($ids) === 0) {
103 $ids = $this->strArray("reservation_id");
104 }
105 if (count($ids) === 0) {
106 $ids = $this->strArray("rsv_id");
107 }
108 return $ids;
109 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getReservationIdsFromString()

ILIAS\BookingManager\StandardGUIRequest::getReservationIdsFromString ( )

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

81 : array
82 {
83 if ($this->str("rsv_ids") === "") {
84 return [];
85 }
86 return explode(";", $this->str("rsv_ids"));
87 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getReturnCmd()

ILIAS\BookingManager\StandardGUIRequest::getReturnCmd ( )

Definition at line 179 of file class.StandardGUIRequest.php.

179 : string
180 {
181 return $this->str("returnCmd");
182 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getReturnTo()

ILIAS\BookingManager\StandardGUIRequest::getReturnTo ( )

Definition at line 89 of file class.StandardGUIRequest.php.

89 : string
90 {
91 return $this->str("return_to");
92 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getScheduleId()

ILIAS\BookingManager\StandardGUIRequest::getScheduleId ( )

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

71 : int
72 {
73 return $this->int("schedule_id");
74 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getSeed()

ILIAS\BookingManager\StandardGUIRequest::getSeed ( )

Definition at line 111 of file class.StandardGUIRequest.php.

111 : string
112 {
113 return $this->str("seed");
114 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getSlot()

ILIAS\BookingManager\StandardGUIRequest::getSlot ( )

Definition at line 184 of file class.StandardGUIRequest.php.

184 : string
185 {
186 return $this->str("slot");
187 }

References ILIAS\Repository\str().

Referenced by ILIAS\BookingManager\StandardGUIRequest\getSlotFrom(), and ILIAS\BookingManager\StandardGUIRequest\getSlotTo().

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

◆ getSlotFrom()

ILIAS\BookingManager\StandardGUIRequest::getSlotFrom ( )

Definition at line 189 of file class.StandardGUIRequest.php.

189 : int
190 {
191 $slot = $this->getSlot();
192 $parts = explode("_", $slot);
193 return (int) $parts[0];
194 }
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts
Definition: ltitoken.php:61

References $parts, and ILIAS\BookingManager\StandardGUIRequest\getSlot().

+ Here is the call graph for this function:

◆ getSlotTo()

ILIAS\BookingManager\StandardGUIRequest::getSlotTo ( )

Definition at line 196 of file class.StandardGUIRequest.php.

196 : int
197 {
198 $slot = $this->getSlot();
199 $parts = explode("_", $slot);
200 return (int) ($parts[1] ?? 0);
201 }

References $parts, and ILIAS\BookingManager\StandardGUIRequest\getSlot().

+ Here is the call graph for this function:

◆ getSSeed()

ILIAS\BookingManager\StandardGUIRequest::getSSeed ( )

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

116 : string
117 {
118 return $this->str("sseed");
119 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getStatus()

ILIAS\BookingManager\StandardGUIRequest::getStatus ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getUntil()

ILIAS\BookingManager\StandardGUIRequest::getUntil ( )

Definition at line 213 of file class.StandardGUIRequest.php.

213 : int
214 {
215 return $this->int("until");
216 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getUserId()

ILIAS\BookingManager\StandardGUIRequest::getUserId ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getUserLogin()

ILIAS\BookingManager\StandardGUIRequest::getUserLogin ( )

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

159 : string
160 {
161 return $this->str("user_login");
162 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

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