Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-07-03 16:55:01 +0400
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-07-03 16:55:01 +0400
commit8fa18618d7da7af4aad0fdde99c1b738c584cddb (patch)
tree73aebd4c9c71e5150bee9391638db5c5b31093b7 /plugins/ExampleUI
parent9bcbcc3df033df056c429ed06ef535000993385f (diff)
Fix "can't modify headers" error with evolutionGraph, tagCloud, and misc
Diffstat (limited to 'plugins/ExampleUI')
-rw-r--r--plugins/ExampleUI/Controller.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/ExampleUI/Controller.php b/plugins/ExampleUI/Controller.php
index 3419bd2498..e62927be17 100644
--- a/plugins/ExampleUI/Controller.php
+++ b/plugins/ExampleUI/Controller.php
@@ -31,6 +31,7 @@ class Piwik_ExampleUI_Controller extends Piwik_Controller
function evolutionGraph()
{
+ ob_start();
echo "<h2>Evolution of server temperatures over the last few days</h2>";
$this->echoEvolutionGraph();
}
@@ -69,6 +70,7 @@ class Piwik_ExampleUI_Controller extends Piwik_Controller
function tagClouds()
{
+ ob_start();
echo "<h2>Simple tag cloud</h2>";
$this->echoSimpleTagClouds();
@@ -122,6 +124,7 @@ class Piwik_ExampleUI_Controller extends Piwik_Controller
function misc()
{
+ ob_start();
echo "<h2>Evolution graph filtered to Google and Yahoo!</h2>";
$this->echoDataTableSearchEnginesFiltered();
}
@@ -133,4 +136,4 @@ class Piwik_ExampleUI_Controller extends Piwik_Controller
$view->setSearchPattern('^(Google|Yahoo!)$', 'label');
return $this->renderView($view);
}
-} \ No newline at end of file
+}