ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 ()
 

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.

References ILIAS\Repository\initRequest().

34  {
35  $this->initRequest(
36  $http,
37  $refinery,
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.
+ 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.

References ILIAS\Repository\str().

58  : string
59  {
60  return $this->str("admin_mode");
61  }
+ Here is the call graph for this function:

◆ getCName()

ILIAS\Administration\AdminGUIRequest::getCName ( )

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

References ILIAS\Repository\str().

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

◆ getCType()

ILIAS\Administration\AdminGUIRequest::getCType ( )

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

References ILIAS\Repository\str().

63  : string
64  {
65  return $this->str("ctype");
66  }
+ Here is the call graph for this function:

◆ getItemRefId()

ILIAS\Administration\AdminGUIRequest::getItemRefId ( )

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

References ILIAS\Repository\int().

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

53  : int
54  {
55  return $this->int("item_ref_id");
56  }
+ 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.

References ILIAS\Repository\int().

83  : int
84  {
85  return $this->int("jmpToUser");
86  }
+ Here is the call graph for this function:

◆ getNewType()

ILIAS\Administration\AdminGUIRequest::getNewType ( )

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

References ILIAS\Repository\str().

88  : string
89  {
90  return $this->str("new_type");
91  }
+ Here is the call graph for this function:

◆ getObjId()

ILIAS\Administration\AdminGUIRequest::getObjId ( )

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

References ILIAS\Repository\int().

48  : int
49  {
50  return $this->int("obj_id");
51  }
+ Here is the call graph for this function:

◆ getPluginId()

ILIAS\Administration\AdminGUIRequest::getPluginId ( )

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

References ILIAS\Repository\str().

78  : string
79  {
80  return $this->str("plugin_id");
81  }
+ Here is the call graph for this function:

◆ getRefId()

ILIAS\Administration\AdminGUIRequest::getRefId ( )

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

References ILIAS\Repository\int().

Referenced by ilAdministrationExplorerGUI\__construct().

43  : int
44  {
45  return $this->int("ref_id");
46  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSelectedIds()

ILIAS\Administration\AdminGUIRequest::getSelectedIds ( )

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

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

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  }
+ Here is the call graph for this function:

◆ getSlotId()

ILIAS\Administration\AdminGUIRequest::getSlotId ( )

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

References ILIAS\Repository\str().

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

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