diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2008-12-17 20:26:15 +0300 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2008-12-17 20:26:15 +0300 |
commit | 0c3ef698010708ba0484aabd5a01db3b62f47365 (patch) | |
tree | e1b592d7358d3a01a1dc39cd8c3134d5ee551b2f /core/ViewDataTable/HtmlTable/AllColumns.php | |
parent | fa3877ec785daf7d6aad35ca877611ff040c2ffd (diff) |
- adding Goal Tracking related goodness in core, and plugins
- goal table icon below datatable that have goal segmentation
- rss export icon below datatable
- cleaning code, refactoring, renaming goodness
- adding switch enable_detect_unique_visitor_using_settings that enables/disable heuristic based on config hash
- refactoring how plugins handle archiving for more clarity
git-svn-id: http://dev.piwik.org/svn/trunk@838 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/ViewDataTable/HtmlTable/AllColumns.php')
-rw-r--r-- | core/ViewDataTable/HtmlTable/AllColumns.php | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/core/ViewDataTable/HtmlTable/AllColumns.php b/core/ViewDataTable/HtmlTable/AllColumns.php index 9ea33f5a85..e1c0882301 100644 --- a/core/ViewDataTable/HtmlTable/AllColumns.php +++ b/core/ViewDataTable/HtmlTable/AllColumns.php @@ -3,8 +3,6 @@ require_once "ViewDataTable/HtmlTable.php"; class Piwik_ViewDataTable_HtmlTable_AllColumns extends Piwik_ViewDataTable_HtmlTable { - const LOW_POPULATION_THRESHOLD_PERCENTAGE_VISIT = 0.005; - protected function getViewDataTableId() { return 'tableAllColumns'; @@ -18,22 +16,6 @@ class Piwik_ViewDataTable_HtmlTable_AllColumns extends Piwik_ViewDataTable_HtmlT parent::main(); } - protected function handleLowPopulation() - { - if(Piwik_Common::getRequestVar('filter_excludelowpop', '0', 'string' ) == '0') - { - return; - } - - require_once "VisitsSummary/Controller.php"; - $visits = Piwik_VisitsSummary_Controller::getVisits(); - $visitsThreshold = floor( self::LOW_POPULATION_THRESHOLD_PERCENTAGE_VISIT * $visits); - if($visitsThreshold > 0) - { - $this->setExcludeLowPopulation( $visitsThreshold, Piwik_Archive::INDEX_NB_VISITS ); - } - } - protected function getRequestString() { $requestString = parent::getRequestString(); @@ -42,6 +24,7 @@ class Piwik_ViewDataTable_HtmlTable_AllColumns extends Piwik_ViewDataTable_HtmlT protected function postDataTableLoadedFromAPI() { + parent::postDataTableLoadedFromAPI(); $this->setColumnsToDisplay(array('label', 'nb_visits', 'nb_uniq_visitors', |