Property | Type | Description | |
---|---|---|---|
$referrerTypeToLabel |
Method | Description | |
---|---|---|
DisplayTopKeywords ( $url = "", $api ) | ||
__construct ( Piwik\Translation\Translator $translator ) | ||
getEvolutionGraph ( $typeReferrer = false, array $columns = [], array $defaultColumns = [] ) | ||
getKeywordsForPage ( ) | ||
getLastDistinctCampaignsGraph ( ) | ||
getLastDistinctKeywordsGraph ( ) | ||
getLastDistinctSearchEnginesGraph ( ) | ||
getLastDistinctWebsitesGraph ( ) | ||
getSparklines ( ) | ||
getTranslatedReferrerTypeLabel ( integer $typeReferrer ) : string | Returns the i18n-ized label for a referrer type. |
Method | Description | |
---|---|---|
getReferrersVisitorsByType ( $date = false ) |
Method | Description | |
---|---|---|
addEvolutionPropertiesToView ( string $date, array $currentValues, string $lastPeriodDate, array $previousValues ) : array | Utility method that calculates evolution values for a set of current & past values and sets properties on a View w/ HTML that displays the evolution percents. | |
getDistinctReferrersMetrics ( boolean | string $date = false ) : array | Returns an array containing the number of distinct referrers for each referrer type. | |
getDistinctSparklineUrlParams ( $action ) | ||
getReferrerSparklineParams ( integer $referrerType ) : string | Returns the URL for the sparkline of visits with a specific referrer type. |
public __construct ( Piwik\Translation\Translator $translator ) | ||
$translator | Piwik\Translation\Translator |
public getEvolutionGraph ( $typeReferrer = false, array $columns = [], array $defaultColumns = [] ) | ||
$columns | array | |
$defaultColumns | array |
protected getReferrersVisitorsByType ( $date = false ) |
public static getTranslatedReferrerTypeLabel ( integer $typeReferrer ) : string | ||
$typeReferrer | integer | The referrer type. Referrer types are defined in Common class. |
return | string | The i18n-ized label. |