ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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.

32 {
33 $this->initRequest(
34 $http,
36 $passed_query_params,
37 $passed_post_data
38 );
39 }
$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

◆ getExportFormat()

ILIAS\MediaPool\StandardGUIRequest::getExportFormat ( )

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

51 : string
52 {
53 return $this->str("format");
54 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getFileAction()

ILIAS\MediaPool\StandardGUIRequest::getFileAction ( )

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

119 : string
120 {
121 return $this->str("action");
122 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getFiles()

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

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

114 : array
115 {
116 return $this->strArray("file");
117 }

References ILIAS\Repository\strArray().

+ Here is the call graph for this function:

◆ getFolderEditMode()

ILIAS\MediaPool\StandardGUIRequest::getFolderEditMode ( )

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

93 : bool
94 {
95 return (bool) $this->int("foldereditmode");
96 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getFolderId()

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

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

103 : int
104 {
105 return $this->int($par);
106 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getForceFilter()

ILIAS\MediaPool\StandardGUIRequest::getForceFilter ( )

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

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

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getImportLang()

ILIAS\MediaPool\StandardGUIRequest::getImportLang ( )

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

108 : string
109 {
110 return $this->str("import_lang");
111 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getItemId()

ILIAS\MediaPool\StandardGUIRequest::getItemId ( )

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

65 : int
66 {
67 return $this->int("mepitem_id");
68 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getItemIds()

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

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

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

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

+ Here is the call graph for this function:

◆ getMode()

ILIAS\MediaPool\StandardGUIRequest::getMode ( )

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

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getNewType()

ILIAS\MediaPool\StandardGUIRequest::getNewType ( )

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

41 : string
42 {
43 return $this->str("new_type");
44 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getOldNr()

ILIAS\MediaPool\StandardGUIRequest::getOldNr ( )

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

88 : int
89 {
90 return $this->int("old_nr");
91 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getRefId()

ILIAS\MediaPool\StandardGUIRequest::getRefId ( )

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

83 : int
84 {
85 return $this->int("ref_id");
86 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getUploadHash()

ILIAS\MediaPool\StandardGUIRequest::getUploadHash ( )

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

56 : string
57 {
58 $hash = $this->str("mep_hash");
59 if ($hash === "") {
60 $hash = $this->str("ilfilehash");
61 }
62 return $hash;
63 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

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