Commit 9cbda58bc4ce566304a54677011f0f73cded3f7a
1 parent
730b4694
ga output
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
app/library/App/Controllers/GaController.php
... | ... | @@ -83,6 +83,12 @@ class GaController extends CrudResourceController { |
83 | 83 | |
84 | 84 | return ($obj); |
85 | 85 | |
86 | + $result = []; | |
87 | + | |
88 | + foreach ($obj as $key => $value) { | |
89 | + $result[$key['dimensions']] = $value->values; | |
90 | + } | |
91 | + | |
86 | 92 | } |
87 | 93 | |
88 | 94 | public function printResults($reports) { | ... | ... |