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

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

◆ getIds()

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

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

55 : array
56 {
57 return $this->intArray("id");
58 }

References ILIAS\Repository\intArray().

+ Here is the call graph for this function:

◆ getMediaPoolId()

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

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

37 : int
38 {
39 return $this->int("mep");
40 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getPoolView()

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

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

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

References ILIAS\Repository\str().

+ Here is the call graph for this function:

◆ getSelectedMediaPoolRefId()

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

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

42 : int
43 {
44 return $this->int("mep_ref_id");
45 }

References ILIAS\Repository\int().

+ Here is the call graph for this function:

◆ getUploadHash()

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

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

60 : string
61 {
62 $hash = $this->str("mep_hash");
63 if ($hash === "") {
64 $hash = $this->str("ilfilehash");
65 }
66 return $hash;
67 }

References ILIAS\Repository\str().

+ Here is the call graph for this function:

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