ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\MediaPool\StandardGUIRequest Class Reference
+ Collaboration diagram for ILIAS\MediaPool\StandardGUIRequest:

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery, ?array $passed_query_params=null, ?array $passed_post_data=null)
 
 getNewType ()
 
 getMode ()
 
 getExportFormat ()
 
 getUploadHash ()
 
 getItemId ()
 
 getItemIds ()
 
 getRefId ()
 
 getOldNr ()
 
 getFolderEditMode ()
 
 getForceFilter ()
 
 getFolderId ($par)
 
 getImportLang ()
 
 getFiles ()
 
 getFileAction ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\MediaPool\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.

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

◆ getExportFormat()

ILIAS\MediaPool\StandardGUIRequest::getExportFormat ( )

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

References ILIAS\Repository\str().

51  : string
52  {
53  return $this->str("format");
54  }
+ Here is the call graph for this function:

◆ getFileAction()

ILIAS\MediaPool\StandardGUIRequest::getFileAction ( )

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

References ILIAS\Repository\str().

119  : string
120  {
121  return $this->str("action");
122  }
+ Here is the call graph for this function:

◆ getFiles()

ILIAS\MediaPool\StandardGUIRequest::getFiles ( )
Returns
string[]

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

References ILIAS\Repository\strArray().

114  : array
115  {
116  return $this->strArray("file");
117  }
+ Here is the call graph for this function:

◆ getFolderEditMode()

ILIAS\MediaPool\StandardGUIRequest::getFolderEditMode ( )

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

References ILIAS\Repository\int().

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

◆ getFolderId()

ILIAS\MediaPool\StandardGUIRequest::getFolderId (   $par)

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

References ILIAS\Repository\int().

103  : int
104  {
105  return $this->int($par);
106  }
+ Here is the call graph for this function:

◆ getForceFilter()

ILIAS\MediaPool\StandardGUIRequest::getForceFilter ( )

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

References ILIAS\Repository\int().

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

◆ getImportLang()

ILIAS\MediaPool\StandardGUIRequest::getImportLang ( )

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

References ILIAS\Repository\str().

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

◆ getItemId()

ILIAS\MediaPool\StandardGUIRequest::getItemId ( )

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

References ILIAS\Repository\int().

65  : int
66  {
67  return $this->int("mepitem_id");
68  }
+ Here is the call graph for this function:

◆ getItemIds()

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

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

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

71  : array
72  {
73  $items = $this->intArray("id");
74  if (count($items) === 0) {
75  $id = $this->int("id");
76  if ($id > 0) {
77  return [$id];
78  }
79  }
80  return $items;
81  }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
+ Here is the call graph for this function:

◆ getMode()

ILIAS\MediaPool\StandardGUIRequest::getMode ( )

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

References ILIAS\Repository\str().

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

◆ getNewType()

ILIAS\MediaPool\StandardGUIRequest::getNewType ( )

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

References ILIAS\Repository\str().

41  : string
42  {
43  return $this->str("new_type");
44  }
+ Here is the call graph for this function:

◆ getOldNr()

ILIAS\MediaPool\StandardGUIRequest::getOldNr ( )

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

References ILIAS\Repository\int().

88  : int
89  {
90  return $this->int("old_nr");
91  }
+ Here is the call graph for this function:

◆ getRefId()

ILIAS\MediaPool\StandardGUIRequest::getRefId ( )

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

References ILIAS\Repository\int().

83  : int
84  {
85  return $this->int("ref_id");
86  }
+ Here is the call graph for this function:

◆ getUploadHash()

ILIAS\MediaPool\StandardGUIRequest::getUploadHash ( )

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

References ILIAS\Repository\str().

56  : string
57  {
58  $hash = $this->str("mep_hash");
59  if ($hash === "") {
60  $hash = $this->str("ilfilehash");
61  }
62  return $hash;
63  }
+ Here is the call graph for this function:

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