original_string: public function getAll($idSite, $period, $date, $segment = false)
      {
          Piwik::checkUserHasViewAccess($idSite);
  
          $this->checkSingleSite($idSite, 'getAll');
          $dataTable = $this->getReferrerType($idSite, $period, $date, $segment, $typeReferrer = false, $idSubtable = false, $expanded = true);
  
          if ($dataTable instanceof DataTable\Map) {
              throw new Exception("Referrers.getAll with multiple sites or dates is not supported (yet).");
          }
  
          $dataTable = $dataTable->mergeSubtables($labelColumn = 'referer_type', $useMetadataColumn = true);
          $dataTable->queueFilter('ReplaceColumnNames');
          $dataTable->queueFilter('ReplaceSummaryRowLabel');
  
          return $dataTable;
      }
code: public function getAll($idSite, $period, $date, $segment = false)
      {
          Piwik::checkUserHasViewAccess($idSite);
  
          $this->checkSingleSite($idSite, 'getAll');
          $dataTable = $this->getReferrerType($idSite, $period, $date, $segment, $typeReferrer = false, $idSubtable = false, $expanded = true);
  
          if ($dataTable instanceof DataTable\Map) {
              throw new Exception("Referrers.getAll with multiple sites or dates is not supported (yet).");
          }
  
          $dataTable = $dataTable->mergeSubtables($labelColumn = 'referer_type', $useMetadataColumn = true);
          $dataTable->queueFilter('ReplaceColumnNames');
          $dataTable->queueFilter('ReplaceSummaryRowLabel');
  
          return $dataTable;
      }
code_tokens: public function getAll ( $ idSite , $ period , $ date , $ segment = false ) { Piwik :: checkUserHasViewAccess ( $ idSite ) ; $ this -> checkSingleSite ( $ idSite , 'getAll' ) ; $ dataTable = $ this -> getReferrerType ( $ idSite , $ period , $ date , $ segment , $ typeReferrer = false , $ idSubtable = false , $ expanded = true ) ; if ( $ dataTable instanceof DataTable \ Map ) { throw new Exception ( "Referrers.getAll with multiple sites or dates is not supported (yet)." ) ; } $ dataTable = $ dataTable -> mergeSubtables ( $ labelColumn = 'referer_type' , $ useMetadataColumn = true ) ; $ dataTable -> queueFilter ( 'ReplaceColumnNames' ) ; $ dataTable -> queueFilter ( 'ReplaceSummaryRowLabel' ) ; return $ dataTable ; }
docstring: Returns a report that shows
docstring_tokens: Returns a report that shows