ILIAS  release_8 Revision v8.24
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)
 
 getTemplate (string $prefix)
 
 getRows (string $prefix)
 
 getPostVar ()
 
 getNavPar (string $np, int $nr=0)
 
 getFF (string $id)
 
 getFS (string $id)
 
 getFSH (string $id)
 
 getFSF (string $id)
 
 getTemplCreate ()
 
 getTemplDelete ()
 
 getTableId ()
 
 getUserId ()
 

Detailed Description

Definition at line 23 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 27 of file class.TableGUIRequest.php.

32 {
33 $this->initRequest(
34 $http,
38 );
39 }
Refinery Factory $refinery
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.
$http
Definition: raiseError.php:7

References ILIAS\Repository\$passed_post_data, ILIAS\Repository\$passed_query_params, ILIAS\Repository\$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 41 of file class.TableGUIRequest.php.

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getFF()

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

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

73 : array
74 {
75 return $this->strArray("tblff" . $id);
76 }
$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 78 of file class.TableGUIRequest.php.

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

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getFSF()

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

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getFSH()

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

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

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

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 65 of file class.TableGUIRequest.php.

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getPostVar()

ILIAS\Table\TableGUIRequest::getPostVar ( )

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

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getRows()

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

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

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

References $rows, and ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getTableId()

ILIAS\Table\TableGUIRequest::getTableId ( )

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

103 : string
104 {
105 return $this->str("table_id");
106 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getTemplate()

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

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

46 : string
47 {
48 return $this->str($prefix . "_tpl");
49 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getTemplCreate()

ILIAS\Table\TableGUIRequest::getTemplCreate ( )

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

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getTemplDelete()

ILIAS\Table\TableGUIRequest::getTemplDelete ( )

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

98 : string
99 {
100 return $this->str("tbltpldel");
101 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getUserId()

ILIAS\Table\TableGUIRequest::getUserId ( )

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

108 : int
109 {
110 return $this->int("user_id");
111 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

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