ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\MediaObjects\Creation\CreationGUIRequest Class Reference
+ Collaboration diagram for ILIAS\MediaObjects\Creation\CreationGUIRequest:

Public Member Functions

 __construct (\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery)
 
 getMediaPoolId ()
 
 getSelectedMediaPoolRefId ()
 
 getPoolView ()
 
 getIds ()
 
 getUploadHash ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\MediaObjects\Creation\CreationGUIRequest::__construct ( \ILIAS\HTTP\Services  $http,
\ILIAS\Refinery\Factory  $refinery 
)

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

References ILIAS\Repository\initRequest().

30  {
31  $this->initRequest(
32  $http,
33  $refinery
34  );
35  }
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

◆ getIds()

ILIAS\MediaObjects\Creation\CreationGUIRequest::getIds ( )
Returns
int[]

Definition at line 55 of file class.CreationGUIRequest.php.

References ILIAS\Repository\intArray().

55  : array
56  {
57  return $this->intArray("id");
58  }
+ Here is the call graph for this function:

◆ getMediaPoolId()

ILIAS\MediaObjects\Creation\CreationGUIRequest::getMediaPoolId ( )

Definition at line 37 of file class.CreationGUIRequest.php.

References ILIAS\Repository\int().

37  : int
38  {
39  return $this->int("mep");
40  }
+ Here is the call graph for this function:

◆ getPoolView()

ILIAS\MediaObjects\Creation\CreationGUIRequest::getPoolView ( )

Definition at line 47 of file class.CreationGUIRequest.php.

References ILIAS\Repository\str().

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

◆ getSelectedMediaPoolRefId()

ILIAS\MediaObjects\Creation\CreationGUIRequest::getSelectedMediaPoolRefId ( )

Definition at line 42 of file class.CreationGUIRequest.php.

References ILIAS\Repository\int().

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

◆ getUploadHash()

ILIAS\MediaObjects\Creation\CreationGUIRequest::getUploadHash ( )

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

References ILIAS\Repository\str().

60  : string
61  {
62  $hash = $this->str("mep_hash");
63  if ($hash === "") {
64  $hash = $this->str("ilfilehash");
65  }
66  return $hash;
67  }
+ Here is the call graph for this function:

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