ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
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.

References ILIAS\Repository\$passed_post_data, ILIAS\Repository\$passed_query_params, and ILIAS\Repository\initRequest().

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

References ILIAS\Repository\int().

41  : int
42  {
43  return $this->int($prefix . "_xpt");
44  }
+ Here is the call graph for this function:

◆ getFF()

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

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

References ILIAS\Repository\strArray().

73  : array
74  {
75  return $this->strArray("tblff" . $id);
76  }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
+ Here is the call graph for this function:

◆ getFS()

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

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

References ILIAS\Repository\strArray().

78  : array
79  {
80  return $this->strArray("tblfs" . $id);
81  }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
+ Here is the call graph for this function:

◆ getFSF()

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

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

References ILIAS\Repository\int().

88  : bool
89  {
90  return (bool) $this->int("tblfsf" . $id);
91  }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
+ Here is the call graph for this function:

◆ getFSH()

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

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

References ILIAS\Repository\int().

83  : bool
84  {
85  return (bool) $this->int("tblfsh" . $id);
86  }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
+ 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.

References ILIAS\Repository\str().

65  : string
66  {
67  if ($nr > 0) {
68  $np .= (string) $nr;
69  }
70  return $this->str($np);
71  }
+ Here is the call graph for this function:

◆ getPostVar()

ILIAS\Table\TableGUIRequest::getPostVar ( )

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

References ILIAS\Repository\str().

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

◆ getRows()

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

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

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

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

◆ getTableId()

ILIAS\Table\TableGUIRequest::getTableId ( )

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

References ILIAS\Repository\str().

103  : string
104  {
105  return $this->str("table_id");
106  }
+ Here is the call graph for this function:

◆ getTemplate()

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

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

References ILIAS\Repository\str().

46  : string
47  {
48  return $this->str($prefix . "_tpl");
49  }
+ Here is the call graph for this function:

◆ getTemplCreate()

ILIAS\Table\TableGUIRequest::getTemplCreate ( )

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

References ILIAS\Repository\str().

93  : string
94  {
95  return $this->str("tbltplcrt");
96  }
+ Here is the call graph for this function:

◆ getTemplDelete()

ILIAS\Table\TableGUIRequest::getTemplDelete ( )

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

References ILIAS\Repository\str().

98  : string
99  {
100  return $this->str("tbltpldel");
101  }
+ Here is the call graph for this function:

◆ getUserId()

ILIAS\Table\TableGUIRequest::getUserId ( )

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

References ILIAS\Repository\int().

108  : int
109  {
110  return $this->int("user_id");
111  }
+ Here is the call graph for this function:

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