Commit 17e90e1370b16fdf234e482a874cc5c55397daad

Authored by Erdogan Furkan
1 parent b4f15874

#10098 Modifications on the reading context file part

Showing 1 changed file with 11 additions and 9 deletions   Show diff stats
src/InputOutput/IHMImpl/Tools/IHMPlotContextFileClass.php
... ... @@ -64,16 +64,18 @@ class IHMPlotContextFileClass {
64 64 $intervalsNodes = $panelNode->getElementsByTagName('intervals');
65 65 if ($intervalsNodes->length > 0) {
66 66 $panelContext['intervals'] = array();
67   - }
68   - foreach ($intervalsNodes as $intervalsNode) {
69   - $intervalsContext = array(
70   - 'name' => $intervalsNode->getAttribute('name'),
71   - 'id' => $intervalsNode->getAttribute('id'),
72   - 'startTime' => $intervalsNode->getAttribute('startTime'),
73   - 'stopTime' => $intervalsNode->getAttribute('stopTime'),
74   - );
75 67  
76   - $panelContext['intervals'][] = $intervalsContext;
  68 + foreach ($intervalsNodes as $intervalsNode) {
  69 + $intervalsContext = array(
  70 + 'name' => $intervalsNode->getAttribute('name'),
  71 + 'id' => $intervalsNode->getAttribute('id'),
  72 + 'startTime' => $intervalsNode->getAttribute('startTime'),
  73 + 'stopTime' => $intervalsNode->getAttribute('stopTime'),
  74 + 'params' => $intervalsNode->getAttribute('params')
  75 + );
  76 +
  77 + $panelContext['intervals'][] = $intervalsContext;
  78 + }
77 79 }
78 80  
79 81 //<plotArea>
... ...