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:
authormattab <matthieu.aubry@gmail.com>2013-09-14 07:36:12 +0400
committermattab <matthieu.aubry@gmail.com>2013-09-14 07:36:12 +0400
commit8c1f92be4291f1d76935ed34de88f5168faec88a (patch)
treea4fdadf26601374c364bb69cd1e42879775a0487 /misc/others
parent4fbe9960f50068a1ddc46c2780839999d7fea85e (diff)
Adding UrlHelper containing random logic around manipulating urls
Diffstat (limited to 'misc/others')
-rw-r--r--misc/others/iframeWidget_localhost.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/others/iframeWidget_localhost.php b/misc/others/iframeWidget_localhost.php
index d83fb26c31..73bfc5c59b 100644
--- a/misc/others/iframeWidget_localhost.php
+++ b/misc/others/iframeWidget_localhost.php
@@ -1,8 +1,8 @@
<?php
-use Piwik\Common;
use Piwik\FrontController;
-use Piwik\WidgetsList;
use Piwik\Url;
+use Piwik\UrlHelper;
+use Piwik\WidgetsList;
exit;
$date = date('Y-m-d');
@@ -39,7 +39,7 @@ foreach ($widgets as $category => $widgetsInCategory) {
echo '<h2>' . $category . '</h2>';
foreach ($widgetsInCategory as $widget) {
echo '<h3>' . $widget['name'] . '</h3>';
- $widgetUrl = Common::getArrayFromQueryString($url);
+ $widgetUrl = UrlHelper::getArrayFromQueryString($url);
$widgetUrl['moduleToWidgetize'] = $widget['parameters']['module'];
$widgetUrl['actionToWidgetize'] = $widget['parameters']['action'];
$parameters = $widget['parameters'];