ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ImageMapGUIRequest.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 getRefId(): int
38 {
39 return $this->int("ref_id");
40 }
41
42 public function getObjId(): int
43 {
44 return $this->int("obj_id");
45 }
46
47 public function getHierId(): string
48 {
49 return $this->str("hier_id");
50 }
51
52 public function getPCId(): string
53 {
54 return $this->str("pc_id");
55 }
56
57 public function getItemId(): int
58 {
59 return $this->int("item_id");
60 }
61
62 public function getLinkType(): string
63 {
64 return $this->str("linktype");
65 }
66
67 public function getLinkTarget(): string
68 {
69 return $this->str("linktarget");
70 }
71
72 public function getLinkTargetFrame(): string
73 {
74 return $this->str("linktargetframe");
75 }
76
77 public function getLinkAnchor(): string
78 {
79 return $this->str("linkanchor");
80 }
81
82 public function getX(): string
83 {
84 return $this->str("editImagemapForward_x");
85 }
86
87 public function getY(): string
88 {
89 return $this->str("editImagemapForward_y");
90 }
91
92 public function getAreaTitle(int $nr): string
93 {
94 return $this->str("name_" . $nr);
95 }
96
97 public function getAreaName(): string
98 {
99 return $this->str("area_name");
100 }
101
102 public function getAreaHighlightMode(int $nr): string
103 {
104 return $this->str("hl_mode_" . $nr);
105 }
106
107 public function getAreaHighlightClass(int $nr): string
108 {
109 return $this->str("hl_class_" . $nr);
110 }
111
112 public function getHighlightMode(): string
113 {
114 return $this->str("highlight_mode");
115 }
116
117 public function getHighlightClass(): string
118 {
119 return $this->str("highlight_class");
120 }
121
122 public function getAreaShape(): string
123 {
124 return $this->str("shape");
125 }
126
127 public function getAreaLinkType(): string
128 {
129 return $this->str("area_link_type");
130 }
131
132 public function getExternalLink(): string
133 {
134 return $this->str("area_link_ext");
135 }
136
137 public function getArea(): array
138 {
139 return $this->strArray("area");
140 }
141
142 public function getOutEditProperty(): string
143 {
144 return $this->str("out_edit_property");
145 }
146
147 public function getOutAreaNr(): int
148 {
149 return $this->int("out_area_nr");
150 }
151
152 public function getOutOutputNewArea(): bool
153 {
154 return (bool) $this->int("out_output_new_area");
155 }
156
157 public function getOutAreaType(): string
158 {
159 return $this->str("out_area_type");
160 }
161
162 public function getOutCoords(): string
163 {
164 return $this->str("out_coords");
165 }
166}
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.