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

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getWspId ()
 
 getRefId ()
 
 getPrtId ()
 
 getBlogGtp ()
 
 getBlogEdt ()
 
 getBackUrl ()
 
 getSelectPar ()
 
 getItemIds ()
 
 getSortation ()
 
 getNewType ()
 
 getUser ()
 
 getAction ()
 
 getObjId ()
 
 getShareId ()
 
 getNode ()
 
 getPasteExpand (string $mode)
 

Data Fields

trait BaseGUIRequest
 Base gui request wrapper. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\PersonalWorkspace\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

◆ getAction()

ILIAS\PersonalWorkspace\StandardGUIRequest::getAction ( )

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

106 : string
107 {
108 return $this->str("action");
109 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getBackUrl()

ILIAS\PersonalWorkspace\StandardGUIRequest::getBackUrl ( )

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

66 : string
67 {
68 return $this->str("back_url");
69 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getBlogEdt()

ILIAS\PersonalWorkspace\StandardGUIRequest::getBlogEdt ( )

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

61 : string
62 {
63 return $this->str("edt");
64 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getBlogGtp()

ILIAS\PersonalWorkspace\StandardGUIRequest::getBlogGtp ( )

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

56 : int
57 {
58 return $this->int("gtp");
59 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getItemIds()

ILIAS\PersonalWorkspace\StandardGUIRequest::getItemIds ( )
Returns
int[]

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

79 : array
80 {
81 $ids = $this->intArray("id");
82 if (count($ids) == 0) {
83 $id = $this->int("item_ref_id");
84 if ($id > 0) {
85 $ids = [$id];
86 }
87 }
88 return $ids;
89 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

References $id, ILIAS\Repository\int(), and ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getNewType()

ILIAS\PersonalWorkspace\StandardGUIRequest::getNewType ( )

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

96 : string
97 {
98 return $this->str("new_type");
99 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getNode()

ILIAS\PersonalWorkspace\StandardGUIRequest::getNode ( )

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

121 : int
122 {
123 return $this->int("node");
124 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getObjId()

ILIAS\PersonalWorkspace\StandardGUIRequest::getObjId ( )

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

111 : int
112 {
113 return $this->int("obj_id");
114 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPasteExpand()

ILIAS\PersonalWorkspace\StandardGUIRequest::getPasteExpand ( string  $mode)

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

126 : string
127 {
128 return $this->str('paste_' . $mode . '_repexpand');
129 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getPrtId()

ILIAS\PersonalWorkspace\StandardGUIRequest::getPrtId ( )

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

51 : int
52 {
53 return $this->int("prt_id");
54 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getRefId()

ILIAS\PersonalWorkspace\StandardGUIRequest::getRefId ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getSelectPar()

ILIAS\PersonalWorkspace\StandardGUIRequest::getSelectPar ( )

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

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getShareId()

ILIAS\PersonalWorkspace\StandardGUIRequest::getShareId ( )

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

116 : int
117 {
118 return $this->int("shr_id");
119 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getSortation()

ILIAS\PersonalWorkspace\StandardGUIRequest::getSortation ( )

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

91 : int
92 {
93 return $this->int("sortation");
94 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getUser()

ILIAS\PersonalWorkspace\StandardGUIRequest::getUser ( )

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

101 : int
102 {
103 return $this->int("user");
104 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getWspId()

ILIAS\PersonalWorkspace\StandardGUIRequest::getWspId ( )

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

41 : int
42 {
43 return $this->int("wsp_id");
44 }

References ILIAS\Repository\int().

+ 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: