ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables 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 ()
 
 getUserId ()
 
 getBookedUser ()
 
 getScheduleId ()
 
 getStatus ()
 
 getReservationIdsFromString ()
 
 getReturnTo ()
 
 getReservationId ()
 
 getReservationIds ()
 
 getSeed ()
 
 getSSeed ()
 
 getNotification ()
 
 getParticipants ()
 
 getDates ()
 
 getRece ()
 
 getRecm ()
 
 getUserLogin ()
 
 getGroupId ()
 
 getCancelNr ($id)
 

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\$passed_post_data, ILIAS\Repository\$passed_query_params, and ILIAS\Repository\initRequest().

32  {
33  $this->initRequest(
34  $http,
35  $refinery,
38  );
39  }
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.
$http
Definition: raiseError.php:7
Refinery Factory $refinery
+ Here is the call graph for this function:

Member Function Documentation

◆ getBookedUser()

ILIAS\BookingManager\StandardGUIRequest::getBookedUser ( )

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

References ILIAS\Repository\int().

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

◆ getCancelNr()

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

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

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

155  : int
156  {
157  return $this->int("rsv_id_" . $id);
158  }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
+ Here is the call graph for this function:

◆ getDates()

ILIAS\BookingManager\StandardGUIRequest::getDates ( )

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

References ILIAS\Repository\strArray().

130  : array
131  {
132  return $this->strArray("date");
133  }
+ Here is the call graph for this function:

◆ getGroupId()

ILIAS\BookingManager\StandardGUIRequest::getGroupId ( )

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

References ILIAS\Repository\int().

150  : int
151  {
152  return $this->int("grp_id");
153  }
+ Here is the call graph for this function:

◆ getNotification()

ILIAS\BookingManager\StandardGUIRequest::getNotification ( )

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

References ILIAS\Repository\int().

116  : int
117  {
118  return $this->int("ntf");
119  }
+ 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:

◆ getParticipants()

ILIAS\BookingManager\StandardGUIRequest::getParticipants ( )

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

References ILIAS\Repository\intArray().

121  : array
122  {
123  $p = $this->intArray("mass");
124  if (count($p) === 0) {
125  $p = $this->intArray("participants");
126  }
127  return $p;
128  }
+ 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 135 of file class.StandardGUIRequest.php.

References ILIAS\Repository\str().

135  : string
136  {
137  return $this->str("rece");
138  }
+ Here is the call graph for this function:

◆ getRecm()

ILIAS\BookingManager\StandardGUIRequest::getRecm ( )

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

References ILIAS\Repository\str().

140  : string
141  {
142  return $this->str("recm");
143  }
+ 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:

◆ getReservationId()

ILIAS\BookingManager\StandardGUIRequest::getReservationId ( )

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

References ILIAS\Repository\str().

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

◆ getReservationIds()

ILIAS\BookingManager\StandardGUIRequest::getReservationIds ( )

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

References ILIAS\Repository\strArray().

94  : array
95  {
96  $ids = $this->strArray("mrsv");
97  if (count($ids) === 0) {
98  $ids = $this->strArray("reservation_id");
99  }
100  if (count($ids) === 0) {
101  $ids = $this->strArray("rsv_id");
102  }
103  return $ids;
104  }
+ Here is the call graph for this function:

◆ getReservationIdsFromString()

ILIAS\BookingManager\StandardGUIRequest::getReservationIdsFromString ( )

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

References ILIAS\Repository\str().

76  : array
77  {
78  if ($this->str("rsv_ids") === "") {
79  return [];
80  }
81  return explode(";", $this->str("rsv_ids"));
82  }
+ Here is the call graph for this function:

◆ getReturnTo()

ILIAS\BookingManager\StandardGUIRequest::getReturnTo ( )

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

References ILIAS\Repository\str().

84  : string
85  {
86  return $this->str("return_to");
87  }
+ Here is the call graph for this function:

◆ getScheduleId()

ILIAS\BookingManager\StandardGUIRequest::getScheduleId ( )

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

References ILIAS\Repository\int().

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

◆ getSeed()

ILIAS\BookingManager\StandardGUIRequest::getSeed ( )

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

References ILIAS\Repository\str().

106  : string
107  {
108  return $this->str("seed");
109  }
+ Here is the call graph for this function:

◆ getSSeed()

ILIAS\BookingManager\StandardGUIRequest::getSSeed ( )

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

References ILIAS\Repository\str().

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

◆ getStatus()

ILIAS\BookingManager\StandardGUIRequest::getStatus ( )

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

References ILIAS\Repository\int().

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

◆ getUserId()

ILIAS\BookingManager\StandardGUIRequest::getUserId ( )

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

References ILIAS\Repository\int().

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

◆ getUserLogin()

ILIAS\BookingManager\StandardGUIRequest::getUserLogin ( )

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

References ILIAS\Repository\str().

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

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