ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\HTMLLearningModule\StandardGUIRequest Class Reference
+ Collaboration diagram for ILIAS\HTMLLearningModule\StandardGUIRequest:

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getRefId ()
 
 getUserId ()
 
 getBaseClass ()
 
 getString (string $post_var)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\HTMLLearningModule\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,
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.

References ILIAS\UI\examples\Layout\Page\Standard\$refinery, and ILIAS\Repository\initRequest().

+ Here is the call graph for this function:

Member Function Documentation

◆ getBaseClass()

ILIAS\HTMLLearningModule\StandardGUIRequest::getBaseClass ( )

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

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getRefId()

ILIAS\HTMLLearningModule\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:

◆ getString()

ILIAS\HTMLLearningModule\StandardGUIRequest::getString ( string  $post_var)

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

56 : string
57 {
58 return $this->str($post_var);
59 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getUserId()

ILIAS\HTMLLearningModule\StandardGUIRequest::getUserId ( )

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

46 : int
47 {
48 return $this->int("user_id");
49 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

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