Piwik\Plugin\Visualization::beforeGenericFiltersAreAppliedToLoadedDataTable PHP Method

beforeGenericFiltersAreAppliedToLoadedDataTable() public method

Use this method if you need access to the entire dataset (since generic filters will limit and truncate reports).
    public function beforeGenericFiltersAreAppliedToLoadedDataTable()
    {
    }

Usage Example

Beispiel #1
0
 public function beforeGenericFiltersAreAppliedToLoadedDataTable()
 {
     if ($this->isPivoted()) {
         $this->config->columns_to_display = $this->dataTable->getColumns();
         $this->dataTable->applyQueuedFilters();
     }
     parent::beforeGenericFiltersAreAppliedToLoadedDataTable();
 }