ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.EditGUIRequest.php
Go to the documentation of this file.
1 <?php
2 
20 
22 
28 {
29  use BaseGUIRequest;
30 
31  public function __construct(
34  ) {
35  $this->initRequest(
36  $http,
37  $refinery
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 
106 }
__construct(\ILIAS\HTTP\Services $http, \ILIAS\Refinery\Factory $refinery)
Class ChatMainBarProvider .
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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.
string $key
Consumer key/client ID value.
Definition: System.php:193
trait BaseGUIRequest
Base gui request wrapper.
$http
Definition: raiseError.php:7
Page component editing request.
Refinery Factory $refinery