Commit d1d3299cf0c2e6c640a4fbcf0dd9d94465ee4938
1 parent
f4e75f16
Exists in
master
and in
6 other branches
#11242- Done.
Showing
2 changed files
with
16 additions
and
0 deletions
Show diff stats
src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php
... | ... | @@ -299,6 +299,11 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass |
299 | 299 | $panelNode->setIndex($panelData->{'panel-index'}); |
300 | 300 | |
301 | 301 | |
302 | + error_log("FER - ----- ". $pageNode->getSuperposeMode()); | |
303 | + //Panel int index | |
304 | + if (isset($panelData->{'panel-showint-info'}) && $pageNode->getSuperposeMode()=="false") | |
305 | + $panelNode->setShowIntInfo($panelData->{'panel-showint-info'}?"true":"false"); | |
306 | + | |
302 | 307 | //Panel background color |
303 | 308 | if (($panelData->{'panel-background-color'} != 'none') && ($panelData->{'panel-background-color'} != '')) |
304 | 309 | $panelNode->setBackgroundColor($this->hexColor2KernelColor($panelData->{'panel-background-color'})); | ... | ... |
src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotPanelNodeClass.php
... | ... | @@ -18,6 +18,7 @@ define("REQUESTOUTPUTPLOTPANEL_PREFEREDWIDTH", "preferedWidth"); |
18 | 18 | define("REQUESTOUTPUTPLOTPANEL_PREFEREDHEIGHT", "preferedHeight"); |
19 | 19 | define("REQUESTOUTPUTPLOTPANEL_ID", "id"); |
20 | 20 | define("REQUESTOUTPUTPLOTPANEL_INDEX", "index"); |
21 | +define("REQUESTOUTPUTPLOTPANEL_SHOWINTINFO", "showIntInfo"); | |
21 | 22 | |
22 | 23 | abstract class RequestOutputPlotElementTypeEnum |
23 | 24 | { |
... | ... | @@ -183,6 +184,16 @@ class RequestOutputPlotPanelNodeClass extends NodeClass |
183 | 184 | return $this->getAttribute(REQUESTOUTPUTPLOTPANEL_INDEX); |
184 | 185 | } |
185 | 186 | |
187 | + public function setShowIntInfo($showintindex) | |
188 | + { | |
189 | + $this->setAttribute(REQUESTOUTPUTPLOTPANEL_SHOWINTINFO, $showintindex); | |
190 | + } | |
191 | + | |
192 | + public function getShowIntInfo() | |
193 | + { | |
194 | + return $this->getAttribute(REQUESTOUTPUTPLOTPANEL_SHOWINTINFO); | |
195 | + } | |
196 | + | |
186 | 197 | public function loadFromNode($xmlNode) |
187 | 198 | { |
188 | 199 | $this->setBackgroundColor($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOTPANEL_BACKGROUNDCOLOR)); | ... | ... |