ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.EditGUIRequest.php
Go to the documentation of this file.
1<?php
2
20
22
28{
29 use BaseGUIRequest;
30
31 public function __construct(
32 \ILIAS\HTTP\Services $http,
34 ) {
35 $this->initRequest(
36 $http,
38 );
39 }
40
41 public function getSubCmd(): string
42 {
43 return $this->str("subCmd");
44 }
45
46 public function getRefId(): int
47 {
48 return $this->int("ref_id");
49 }
50
51 public function getHierId(): string
52 {
53 return $this->str("hier_id");
54 }
55
56 public function getPCId(): string
57 {
58 $pc_id = $this->str("pcid");
59 if ($pc_id == "") {
60 $pc_id = $this->str("pc_id"); // e.g. PCAMDFormGUI
61 }
62 return $pc_id;
63 }
64
65 public function getInt(string $key): int
66 {
67 return $this->int($key);
68 }
69
70 public function getString(string $key): string
71 {
72 return $this->str($key);
73 }
74
75 public function getRaw(string $key): string
76 {
77 return $this->raw($key);
78 }
79
83 public function getIntArray(string $key): array
84 {
85 return $this->intArray($key);
86 }
87
91 public function getStringArray(string $key): array
92 {
93 return $this->strArray($key);
94 }
95
96
100 public function getArrayArray(string $key): array
101 {
102 return $this->arrayArray($key);
103 }
104}
Page component editing request.
__construct(\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery)
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
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.