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

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getExportMode (string $prefix)
 
 getRows (string $prefix)
 
 getPostVar ()
 
 getNavPar (string $np, int $nr=0)
 
 getFF (string $id)
 
 getFS (string $id)
 
 getFSH (string $id)
 
 getFSF (string $id)
 
 getTableId ()
 
 getUserId ()
 

Data Fields

trait BaseGUIRequest
 Base gui request wrapper. More...
 

Detailed Description

Deprecated:
with ILIAS 12

Definition at line 27 of file class.TableGUIRequest.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 31 of file class.TableGUIRequest.php.

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

◆ getExportMode()

ILIAS\Table\TableGUIRequest::getExportMode ( string  $prefix)

Definition at line 45 of file class.TableGUIRequest.php.

45 : int
46 {
47 return $this->int($prefix . "_xpt");
48 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getFF()

ILIAS\Table\TableGUIRequest::getFF ( string  $id)

Definition at line 72 of file class.TableGUIRequest.php.

72 : array
73 {
74 return $this->strArray("tblff" . $id);
75 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getFS()

ILIAS\Table\TableGUIRequest::getFS ( string  $id)

Definition at line 77 of file class.TableGUIRequest.php.

77 : array
78 {
79 return $this->strArray("tblfs" . $id);
80 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getFSF()

ILIAS\Table\TableGUIRequest::getFSF ( string  $id)

Definition at line 87 of file class.TableGUIRequest.php.

87 : bool
88 {
89 return (bool) $this->int("tblfsf" . $id);
90 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getFSH()

ILIAS\Table\TableGUIRequest::getFSH ( string  $id)

Definition at line 82 of file class.TableGUIRequest.php.

82 : bool
83 {
84 return (bool) $this->int("tblfsh" . $id);
85 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getNavPar()

ILIAS\Table\TableGUIRequest::getNavPar ( string  $np,
int  $nr = 0 
)

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

64 : string
65 {
66 if ($nr > 0) {
67 $np .= (string) $nr;
68 }
69 return $this->str($np);
70 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getPostVar()

ILIAS\Table\TableGUIRequest::getPostVar ( )

Definition at line 59 of file class.TableGUIRequest.php.

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getRows()

ILIAS\Table\TableGUIRequest::getRows ( string  $prefix)

Definition at line 50 of file class.TableGUIRequest.php.

50 : ?int
51 {
52 $rows = $this->str($prefix . "_trows");
53 if ($rows == "") {
54 return null;
55 }
56 return (int) $rows;
57 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getTableId()

ILIAS\Table\TableGUIRequest::getTableId ( )

Definition at line 92 of file class.TableGUIRequest.php.

92 : string
93 {
94 return $this->str("table_id");
95 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getUserId()

ILIAS\Table\TableGUIRequest::getUserId ( )

Definition at line 97 of file class.TableGUIRequest.php.

97 : int
98 {
99 return $this->int("user_id");
100 }

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: