ILIAS  release_8 Revision v8.23
ILIAS\User\ProfileGUIRequest Class Reference
+ Collaboration diagram for ILIAS\User\ProfileGUIRequest:

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getUserId ()
 
 getBackUrl ()
 
 getBaseClass ()
 
 getPrompted ()
 
 getOsdId ()
 
 getFieldId ()
 
 getTerm ()
 
 getUserFileCapture ()
 
 getToken ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\User\ProfileGUIRequest::__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.ProfileGUIRequest.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

◆ getBackUrl()

ILIAS\User\ProfileGUIRequest::getBackUrl ( )

Definition at line 50 of file class.ProfileGUIRequest.php.

References ILIAS\Repository\str().

50  : string
51  {
52  return $this->str("back_url");
53  }
+ Here is the call graph for this function:

◆ getBaseClass()

ILIAS\User\ProfileGUIRequest::getBaseClass ( )

Definition at line 55 of file class.ProfileGUIRequest.php.

References ILIAS\Repository\str().

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

◆ getFieldId()

ILIAS\User\ProfileGUIRequest::getFieldId ( )

Definition at line 70 of file class.ProfileGUIRequest.php.

References ILIAS\Repository\str().

70  : string
71  {
72  return $this->str("f");
73  }
+ Here is the call graph for this function:

◆ getOsdId()

ILIAS\User\ProfileGUIRequest::getOsdId ( )

Definition at line 65 of file class.ProfileGUIRequest.php.

References ILIAS\Repository\int().

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

◆ getPrompted()

ILIAS\User\ProfileGUIRequest::getPrompted ( )

Definition at line 60 of file class.ProfileGUIRequest.php.

References ILIAS\Repository\int().

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

◆ getTerm()

ILIAS\User\ProfileGUIRequest::getTerm ( )

Definition at line 75 of file class.ProfileGUIRequest.php.

References ILIAS\Repository\str().

75  : string
76  {
77  return $this->str("term");
78  }
+ Here is the call graph for this function:

◆ getToken()

ILIAS\User\ProfileGUIRequest::getToken ( )

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

References $query, ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().

91  : string
92  {
93  $query = $this->http->wrapper()->query();
94  if (!$query->has('token')) {
95  return '';
96  }
97 
98  return $query->retrieve('token', $this->refinery->kindlyTo()->string());
99  }
static http()
Fetches the global http state from ILIAS.
$query
+ Here is the call graph for this function:

◆ getUserFileCapture()

ILIAS\User\ProfileGUIRequest::getUserFileCapture ( )

Definition at line 80 of file class.ProfileGUIRequest.php.

References ILIAS\Repository\str().

80  : string
81  {
82  $capture = $this->str("userfile_capture");
83 
84  if ($capture !== '') {
85  return $capture;
86  }
87 
88  return $this->str('user_picture_carry');
89  }
+ Here is the call graph for this function:

◆ getUserId()

ILIAS\User\ProfileGUIRequest::getUserId ( )

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

References ILIAS\Repository\int().

41  : int
42  {
43  $user_id = $this->int("user_id");
44  if ($user_id == 0) {
45  $user_id = $this->int("user");
46  }
47  return $user_id;
48  }
+ Here is the call graph for this function:

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