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 getHierId(): string
42 {
43 return $this->str("hier_id");
44 }
45
46 public function getPCId(): string
47 {
48 $pc_id = $this->str("pc_id");
49 if ($pc_id == "") {
50 $pc_id = $this->str("pcid");
51 }
52 return $pc_id;
53 }
54
55 public function getPlaceholderPCId(): string
56 {
57 return $this->str("pl_pc_id");
58 }
59
60 public function getCType(): string
61 {
62 return $this->str("ctype");
63 }
64
65 public function getCName(): string
66 {
67 return $this->str("cname");
68 }
69
70 public function getMobId(): int
71 {
72 return $this->int("mob_id");
73 }
74
76 public function getIds(): array
77 {
78 return $this->strArray("ids");
79 }
80
81 public function getString(string $key): string
82 {
83 return $this->str($key);
84 }
85
86 public function getInt(string $key): int
87 {
88 return $this->int($key);
89 }
90
91 public function getStringArray(string $key): array
92 {
93 return $this->strArray($key);
94 }
95
96 public function getPageId(): int
97 {
98 return $this->int("pg_id");
99 }
100
101 public function getPageType(): string
102 {
103 return $this->str("pg_type");
104 }
105}
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.