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

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getRefId ()
 
 getObjId ()
 
 getItemRefId ()
 
 getAdminMode ()
 
 getCType ()
 
 getCName ()
 
 getSlotId ()
 
 getPluginId ()
 
 getJumpToUserId ()
 
 getNewType ()
 
 getSelectedIds ()
 

Data Fields

trait BaseGUIRequest
 Base gui request wrapper. More...
 

Detailed Description

Definition at line 25 of file class.AdminGUIRequest.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Administration\AdminGUIRequest::__construct ( \ILIAS\HTTP\Services  $http,
\ILIAS\Refinery\Factory  $refinery,
?array  $passed_query_params = null,
?array  $passed_post_data = null 
)

Definition at line 29 of file class.AdminGUIRequest.php.

34 {
35 $this->initRequest(
36 $http,
38 $passed_query_params,
39 $passed_post_data
40 );
41 }
$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

◆ getAdminMode()

ILIAS\Administration\AdminGUIRequest::getAdminMode ( )

Definition at line 58 of file class.AdminGUIRequest.php.

58 : string
59 {
60 return $this->str("admin_mode");
61 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getCName()

ILIAS\Administration\AdminGUIRequest::getCName ( )

Definition at line 68 of file class.AdminGUIRequest.php.

68 : string
69 {
70 return $this->str("cname");
71 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getCType()

ILIAS\Administration\AdminGUIRequest::getCType ( )

Definition at line 63 of file class.AdminGUIRequest.php.

63 : string
64 {
65 return $this->str("ctype");
66 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getItemRefId()

ILIAS\Administration\AdminGUIRequest::getItemRefId ( )

Definition at line 53 of file class.AdminGUIRequest.php.

53 : int
54 {
55 return $this->int("item_ref_id");
56 }

References ILIAS\Repository\int().

Referenced by ILIAS\Administration\AdminGUIRequest\getSelectedIds().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getJumpToUserId()

ILIAS\Administration\AdminGUIRequest::getJumpToUserId ( )

Definition at line 83 of file class.AdminGUIRequest.php.

83 : int
84 {
85 return $this->int("jmpToUser");
86 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getNewType()

ILIAS\Administration\AdminGUIRequest::getNewType ( )

Definition at line 88 of file class.AdminGUIRequest.php.

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getObjId()

ILIAS\Administration\AdminGUIRequest::getObjId ( )

Definition at line 48 of file class.AdminGUIRequest.php.

48 : int
49 {
50 return $this->int("obj_id");
51 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPluginId()

ILIAS\Administration\AdminGUIRequest::getPluginId ( )

Definition at line 78 of file class.AdminGUIRequest.php.

78 : string
79 {
80 return $this->str("plugin_id");
81 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getRefId()

ILIAS\Administration\AdminGUIRequest::getRefId ( )

Definition at line 43 of file class.AdminGUIRequest.php.

43 : int
44 {
45 return $this->int("ref_id");
46 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getSelectedIds()

ILIAS\Administration\AdminGUIRequest::getSelectedIds ( )

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

94 : array
95 {
96 $ids = $this->intArray("id");
97 if (count($ids) === 0) {
98 if ($this->getItemRefId() > 0) {
99 return [$this->getItemRefId()];
100 }
101 }
102 return $ids;
103 }

References ILIAS\Administration\AdminGUIRequest\getItemRefId(), and ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getSlotId()

ILIAS\Administration\AdminGUIRequest::getSlotId ( )

Definition at line 73 of file class.AdminGUIRequest.php.

73 : string
74 {
75 return $this->str("slot_id");
76 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

Field Documentation

◆ BaseGUIRequest

trait ILIAS\Repository::BaseGUIRequest

Base gui request wrapper.

This class processes all request parameters which are not handled by form classes already. POST overwrites GET with the same name. POST/GET parameters may be passed to the class for testing purposes.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 33 of file trait.BaseGUIRequest.php.


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