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:
authormattpiwik <matthieu.aubry@gmail.com>2010-04-12 11:34:46 +0400
committermattpiwik <matthieu.aubry@gmail.com>2010-04-12 11:34:46 +0400
commitca058a2bf667d0f8905759bed87489a10544216a (patch)
treed845fc6cf51a9df370bcadd82f311237972a4b87 /plugins/Live/Controller.php
parent895be8870d8444d2e931f8a108523402f1975a9c (diff)
git-svn-id: http://dev.piwik.org/svn/trunk@2080 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'plugins/Live/Controller.php')
-rw-r--r--plugins/Live/Controller.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/Live/Controller.php b/plugins/Live/Controller.php
index 2aae5ac7ae..c35be89d06 100644
--- a/plugins/Live/Controller.php
+++ b/plugins/Live/Controller.php
@@ -11,12 +11,10 @@
*/
/**
- *
* @package Piwik_Live
*/
class Piwik_Live_Controller extends Piwik_Controller
{
-
function __construct()
{
parent::__construct();
@@ -32,7 +30,6 @@ class Piwik_Live_Controller extends Piwik_Controller
public function widget($fetch = false)
{
$view = Piwik_View::factory('index');
-// $this->setGeneralVariablesView($view);
$view->idSite = Piwik_Common::getRequestVar('idSite');
$view->visitorsCountHalfHour = $this->getUsersInLastXMin(30);
$view->visitorsCountToday = $this->getUsersInLastXDays(1);
@@ -58,7 +55,6 @@ class Piwik_Live_Controller extends Piwik_Controller
//'serverDatePretty', 'serverTimePretty', 'actionDetails'
$view->setColumnsToDisplay(array(
-// 'label',
'idVisit',
'serverDatePretty',
'serverTimePretty',
@@ -75,7 +71,6 @@ class Piwik_Live_Controller extends Piwik_Controller
));
$view->setColumnsTranslations(array(
-// 'label' => Piwik_Translate('translation'),
'idVisit' => Piwik_Translate(''),
'serverDatePretty' => Piwik_Translate('Live_Date'),
'serverTimePretty' => Piwik_Translate('Live_Time'),
@@ -114,18 +109,12 @@ class Piwik_Live_Controller extends Piwik_Controller
'Live.getLastVisitsForVisitor',
'getPagesFromVisitId');
- #$view->disableSearchBox();
- #$view->disableExcludeLowPopulation();
- #$view->setColumnsToDisplay( array('label','nb_visits') );
- #$view->setColumnTranslation('label', Piwik_Translate('Referers_ColumnKeyword'));
-
return $this->renderView($view, $fetch);
}
public function getLastVisitsStart($fetch = false)
{
$view = Piwik_View::factory('lastVisits');
-// $this->setGeneralVariablesView($view);
$view->idSite = Piwik_Common::getRequestVar('idSite');
$view->visitors = $this->getLastVisits(10);
@@ -178,7 +167,6 @@ class Piwik_Live_Controller extends Piwik_Controller
public function ajaxTotalVisitors($fetch = false)
{
$view = Piwik_View::factory('totalVisits');
-// $this->setGeneralVariablesView($view);
$view->idSite = Piwik_Common::getRequestVar('idSite');
$view->visitorsCountHalfHour = $this->getUsersInLastXMin(30);
$view->visitorsCountToday = $this->getUsersInLastXDays(1);