Piwik\Plugins\UserCountry\API::getContinent PHP Метод

getContinent() публичный Метод

public getContinent ( $idSite, $period, $date, $segment = false )
    public function getContinent($idSite, $period, $date, $segment = false)
    {
        $dataTable = $this->getDataTable(Archiver::COUNTRY_RECORD_NAME, $idSite, $period, $date, $segment);
        $getContinent = array('Piwik\\Common', 'getContinent');
        $dataTable->filter('GroupBy', array('label', $getContinent));
        $dataTable->filter('ColumnCallbackReplace', array('label', __NAMESPACE__ . '\\continentTranslate'));
        $dataTable->queueFilter('ColumnCallbackAddMetadata', array('label', 'code'));
        return $dataTable;
    }