ILIAS  release_8 Revision v8.24
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.

32 {
33 $this->initRequest(
34 $http,
38 );
39 }
Refinery Factory $refinery
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

References ILIAS\Repository\$passed_post_data, ILIAS\Repository\$passed_query_params, ILIAS\Repository\$refinery, and ILIAS\Repository\initRequest().

+ 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.

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getCancelNr()

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

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

155 : int
156 {
157 return $this->int("rsv_id_" . $id);
158 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

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

+ Here is the call graph for this function:

◆ getDates()

ILIAS\BookingManager\StandardGUIRequest::getDates ( )

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

130 : array
131 {
132 return $this->strArray("date");
133 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getGroupId()

ILIAS\BookingManager\StandardGUIRequest::getGroupId ( )

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

150 : int
151 {
152 return $this->int("grp_id");
153 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getNotification()

ILIAS\BookingManager\StandardGUIRequest::getNotification ( )

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

116 : int
117 {
118 return $this->int("ntf");
119 }

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:

◆ getParticipants()

ILIAS\BookingManager\StandardGUIRequest::getParticipants ( )

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

121 : array
122 {
123 $p = $this->intArray("mass");
124 if (count($p) === 0) {
125 $p = $this->intArray("participants");
126 }
127 return $p;
128 }

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 135 of file class.StandardGUIRequest.php.

135 : string
136 {
137 return $this->str("rece");
138 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getRecm()

ILIAS\BookingManager\StandardGUIRequest::getRecm ( )

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

140 : string
141 {
142 return $this->str("recm");
143 }

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:

◆ getReservationId()

ILIAS\BookingManager\StandardGUIRequest::getReservationId ( )

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

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getReservationIds()

ILIAS\BookingManager\StandardGUIRequest::getReservationIds ( )

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

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 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getReservationIdsFromString()

ILIAS\BookingManager\StandardGUIRequest::getReservationIdsFromString ( )

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

76 : array
77 {
78 if ($this->str("rsv_ids") === "") {
79 return [];
80 }
81 return explode(";", $this->str("rsv_ids"));
82 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getReturnTo()

ILIAS\BookingManager\StandardGUIRequest::getReturnTo ( )

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

84 : string
85 {
86 return $this->str("return_to");
87 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getScheduleId()

ILIAS\BookingManager\StandardGUIRequest::getScheduleId ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getSeed()

ILIAS\BookingManager\StandardGUIRequest::getSeed ( )

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

106 : string
107 {
108 return $this->str("seed");
109 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getSSeed()

ILIAS\BookingManager\StandardGUIRequest::getSSeed ( )

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

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getStatus()

ILIAS\BookingManager\StandardGUIRequest::getStatus ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getUserId()

ILIAS\BookingManager\StandardGUIRequest::getUserId ( )

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

56 : int
57 {
58 return $this->int("user_id");
59 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getUserLogin()

ILIAS\BookingManager\StandardGUIRequest::getUserLogin ( )

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

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

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