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

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

◆ getBackUrl()

ILIAS\User\ProfileGUIRequest::getBackUrl ( )

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

50 : string
51 {
52 return $this->str("back_url");
53 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getBaseClass()

ILIAS\User\ProfileGUIRequest::getBaseClass ( )

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

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getFieldId()

ILIAS\User\ProfileGUIRequest::getFieldId ( )

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

70 : string
71 {
72 return $this->str("f");
73 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getOsdId()

ILIAS\User\ProfileGUIRequest::getOsdId ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPrompted()

ILIAS\User\ProfileGUIRequest::getPrompted ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getTerm()

ILIAS\User\ProfileGUIRequest::getTerm ( )

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

75 : string
76 {
77 return $this->str("term");
78 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getToken()

ILIAS\User\ProfileGUIRequest::getToken ( )

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

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

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

+ Here is the call graph for this function:

◆ getUserFileCapture()

ILIAS\User\ProfileGUIRequest::getUserFileCapture ( )

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

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 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getUserId()

ILIAS\User\ProfileGUIRequest::getUserId ( )

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

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 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

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