ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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.

References ILIAS\Repository\initRequest().

32  {
33  $this->initRequest(
34  $http,
35  $refinery,
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.
+ 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.

References ILIAS\Repository\int().

66  : int
67  {
68  return $this->int("bkusr");
69  }
+ Here is the call graph for this function:

◆ getBulkCreationData()

ILIAS\BookingManager\StandardGUIRequest::getBulkCreationData ( )

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

References ILIAS\Repository\str().

223  : string
224  {
225  return $this->str("data");
226  }
+ Here is the call graph for this function:

◆ getCancelNr()

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

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

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

169  : int
170  {
171  return $this->int("rsv_id_" . $id);
172  }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
+ Here is the call graph for this function:

◆ getDate()

ILIAS\BookingManager\StandardGUIRequest::getDate ( )

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

References ILIAS\Repository\str().

144  : string
145  {
146  return $this->str("date");
147  }
+ Here is the call graph for this function:

◆ getDates()

ILIAS\BookingManager\StandardGUIRequest::getDates ( )

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

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

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  }
+ Here is the call graph for this function:

◆ getGroupId()

ILIAS\BookingManager\StandardGUIRequest::getGroupId ( )

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

References ILIAS\Repository\int().

164  : int
165  {
166  return $this->int("grp_id");
167  }
+ Here is the call graph for this function:

◆ getMessage()

ILIAS\BookingManager\StandardGUIRequest::getMessage ( )

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

References ILIAS\Repository\str().

56  : string
57  {
58  return $this->str("message");
59  }
+ Here is the call graph for this function:

◆ getNotification()

ILIAS\BookingManager\StandardGUIRequest::getNotification ( )

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

References ILIAS\Repository\int().

121  : int
122  {
123  return $this->int("ntf");
124  }
+ Here is the call graph for this function:

◆ getNr()

ILIAS\BookingManager\StandardGUIRequest::getNr ( )

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

References ILIAS\Repository\int().

208  : int
209  {
210  return $this->int("nr");
211  }
+ Here is the call graph for this function:

◆ getObjectId()

ILIAS\BookingManager\StandardGUIRequest::getObjectId ( )

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

References ILIAS\Repository\int().

51  : int
52  {
53  return $this->int("object_id");
54  }
+ Here is the call graph for this function:

◆ getObjectIds()

ILIAS\BookingManager\StandardGUIRequest::getObjectIds ( )

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

References ILIAS\Repository\intArray().

218  : array
219  {
220  return $this->intArray("object_id");
221  }
+ Here is the call graph for this function:

◆ getParticipants()

ILIAS\BookingManager\StandardGUIRequest::getParticipants ( )

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

References ILIAS\Repository\intArray().

126  : array
127  {
128  $p = $this->intArray("mass");
129  if (count($p) === 0) {
130  $p = $this->intArray("participants");
131  }
132  return $p;
133  }
+ Here is the call graph for this function:

◆ getPoolRefId()

ILIAS\BookingManager\StandardGUIRequest::getPoolRefId ( )

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

References ILIAS\Repository\int().

46  : int
47  {
48  return $this->int("pool_ref_id");
49  }
+ Here is the call graph for this function:

◆ getRece()

ILIAS\BookingManager\StandardGUIRequest::getRece ( )

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

References ILIAS\Repository\str().

149  : string
150  {
151  return $this->str("rece");
152  }
+ Here is the call graph for this function:

◆ getRecm()

ILIAS\BookingManager\StandardGUIRequest::getRecm ( )

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

References ILIAS\Repository\str().

154  : string
155  {
156  return $this->str("recm");
157  }
+ Here is the call graph for this function:

◆ getRecurrence()

ILIAS\BookingManager\StandardGUIRequest::getRecurrence ( )

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

References ILIAS\Repository\str().

203  : string
204  {
205  return $this->str("recurrence");
206  }
+ Here is the call graph for this function:

◆ getRefId()

ILIAS\BookingManager\StandardGUIRequest::getRefId ( )

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

References ILIAS\Repository\int().

41  : int
42  {
43  return $this->int("ref_id");
44  }
+ Here is the call graph for this function:

◆ getReplaceSignal()

ILIAS\BookingManager\StandardGUIRequest::getReplaceSignal ( )

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

References ILIAS\Repository\str().

174  : string
175  {
176  return $this->str("replaceSignal");
177  }
+ Here is the call graph for this function:

◆ getReservationId()

ILIAS\BookingManager\StandardGUIRequest::getReservationId ( )

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

References ILIAS\Repository\str().

Referenced by ILIAS\BookingManager\BookingProcess\ProcessUtilGUI\displayPostInfo().

94  : string
95  {
96  return $this->str("reservation_id");
97  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getReservationIds()

ILIAS\BookingManager\StandardGUIRequest::getReservationIds ( )

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

References ILIAS\Repository\strArray().

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  }
+ Here is the call graph for this function:

◆ getReservationIdsFromString()

ILIAS\BookingManager\StandardGUIRequest::getReservationIdsFromString ( )

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

References ILIAS\Repository\str().

Referenced by ILIAS\BookingManager\BookingProcess\ProcessUtilGUI\displayPostInfo().

81  : array
82  {
83  if ($this->str("rsv_ids") === "") {
84  return [];
85  }
86  return explode(";", $this->str("rsv_ids"));
87  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getReturnCmd()

ILIAS\BookingManager\StandardGUIRequest::getReturnCmd ( )

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

References ILIAS\Repository\str().

Referenced by ILIAS\BookingManager\BookingProcess\ProcessUtilGUI\handleBookingSuccess().

179  : string
180  {
181  return $this->str("returnCmd");
182  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getReturnTo()

ILIAS\BookingManager\StandardGUIRequest::getReturnTo ( )

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

References ILIAS\Repository\str().

89  : string
90  {
91  return $this->str("return_to");
92  }
+ Here is the call graph for this function:

◆ getScheduleId()

ILIAS\BookingManager\StandardGUIRequest::getScheduleId ( )

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

References ILIAS\Repository\int().

71  : int
72  {
73  return $this->int("schedule_id");
74  }
+ Here is the call graph for this function:

◆ getSeed()

ILIAS\BookingManager\StandardGUIRequest::getSeed ( )

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

References ILIAS\Repository\str().

111  : string
112  {
113  return $this->str("seed");
114  }
+ Here is the call graph for this function:

◆ getSlot()

ILIAS\BookingManager\StandardGUIRequest::getSlot ( )

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

References ILIAS\Repository\str().

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

184  : string
185  {
186  return $this->str("slot");
187  }
+ 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.

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

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
+ Here is the call graph for this function:

◆ getSlotTo()

ILIAS\BookingManager\StandardGUIRequest::getSlotTo ( )

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

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

196  : int
197  {
198  $slot = $this->getSlot();
199  $parts = explode("_", $slot);
200  return (int) ($parts[1] ?? 0);
201  }
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts
Definition: ltitoken.php:61
+ Here is the call graph for this function:

◆ getSSeed()

ILIAS\BookingManager\StandardGUIRequest::getSSeed ( )

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

References ILIAS\Repository\str().

116  : string
117  {
118  return $this->str("sseed");
119  }
+ Here is the call graph for this function:

◆ getStatus()

ILIAS\BookingManager\StandardGUIRequest::getStatus ( )

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

References ILIAS\Repository\int().

76  : int
77  {
78  return $this->int("tstatus");
79  }
+ Here is the call graph for this function:

◆ getUntil()

ILIAS\BookingManager\StandardGUIRequest::getUntil ( )

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

References ILIAS\Repository\int().

213  : int
214  {
215  return $this->int("until");
216  }
+ Here is the call graph for this function:

◆ getUserId()

ILIAS\BookingManager\StandardGUIRequest::getUserId ( )

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

References ILIAS\Repository\int().

61  : int
62  {
63  return $this->int("user_id");
64  }
+ Here is the call graph for this function:

◆ getUserLogin()

ILIAS\BookingManager\StandardGUIRequest::getUserLogin ( )

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

References ILIAS\Repository\str().

159  : string
160  {
161  return $this->str("user_login");
162  }
+ Here is the call graph for this function:

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