ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.CreationGUIRequest.php
Go to the documentation of this file.
1<?php
2
20
22
24{
25 use BaseGUIRequest;
26
27 public function __construct(
28 \ILIAS\HTTP\Services $http,
30 ) {
31 $this->initRequest(
32 $http,
34 );
35 }
36
37 public function getMediaPoolId(): int
38 {
39 return $this->int("mep");
40 }
41
42 public function getSelectedMediaPoolRefId(): int
43 {
44 return $this->int("mep_ref_id");
45 }
46
47 public function getPoolView(): string
48 {
49 return $this->str("pool_view");
50 }
51
55 public function getIds(): array
56 {
57 return $this->intArray("id");
58 }
59
60 public function getUploadHash(): string
61 {
62 $hash = $this->str("mep_hash");
63 if ($hash === "") {
64 $hash = $this->str("ilfilehash");
65 }
66 return $hash;
67 }
68}
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
__construct(\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery)
trait BaseGUIRequest
Base gui request wrapper.
$http
Definition: deliver.php:30
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.