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

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getRefId ()
 
 getObjId ()
 
 getCmdClass ()
 
 getBaseClass ()
 
 getUserIds ()
 
 getIds ()
 
 getRoleIds ()
 
 getFetchAll ()
 
 getTerm ()
 
 getTaxId ()
 

Data Fields

trait BaseGUIRequest
 Base gui request wrapper. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Category\StandardGUIRequest::__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.StandardGUIRequest.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

◆ getBaseClass()

ILIAS\Category\StandardGUIRequest::getBaseClass ( )

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

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getCmdClass()

ILIAS\Category\StandardGUIRequest::getCmdClass ( )

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

53 : string
54 {
55 return $this->str("cmdClass");
56 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getFetchAll()

ILIAS\Category\StandardGUIRequest::getFetchAll ( )

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

81 : int
82 {
83 return $this->int("fetchall");
84 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getIds()

ILIAS\Category\StandardGUIRequest::getIds ( )
Returns
int[]

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

70 : array
71 {
72 return $this->intArray("id");
73 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getObjId()

ILIAS\Category\StandardGUIRequest::getObjId ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getRefId()

ILIAS\Category\StandardGUIRequest::getRefId ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getRoleIds()

ILIAS\Category\StandardGUIRequest::getRoleIds ( )
Returns
int[]

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

76 : array
77 {
78 return $this->intArray("role_ids");
79 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getTaxId()

ILIAS\Category\StandardGUIRequest::getTaxId ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getTerm()

ILIAS\Category\StandardGUIRequest::getTerm ( )

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

86 : string
87 {
88 return $this->str("term");
89 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getUserIds()

ILIAS\Category\StandardGUIRequest::getUserIds ( )
Returns
int[]

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

64 : array
65 {
66 return $this->intArray("user_ids");
67 }

References ILIAS\Repository\intArray().

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