PHP Класс Piwik\Plugins\CoreHome\Controller

Наследование: extends Piwik\Plugin\Controller
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Piwik\Translation\Translator $translator )
checkForUpdates ( ) Forces a check for updates and re-renders the header message.
getDefaultAction ( )
getMultiRowEvolutionPopover ( ) Render the entire row evolution popover for multiple rows
getRowEvolutionGraph ( $fetch = false, $rowEvolution = null ) Generic method to get an evolution graph or a sparkline for the row evolution popover
getRowEvolutionPopover ( ) Render the entire row evolution popover for a single row
index ( )
markNotificationAsRead ( )
redirectToCoreHomeIndex ( )
redirectToPaypal ( ) Redirects the user to a paypal so they can donate to Piwik.
renderReportWidget ( Report $report )
renderWidget ( Widget $widget ) : mixed
renderWidgetContainer ( ) : string This is only used for exported widgets
saveViewDataTableParameters ( )
showInContext ( )

Защищенные методы

Метод Описание
getDefaultIndexView ( )
setDateTodayIfWebsiteCreatedToday ( )

Приватные методы

Метод Описание
makeRowEvolution ( $isMultiRowEvolution, $graphType = null ) Utility function. Creates a RowEvolution instance.

Описание методов

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

public __construct ( Piwik\Translation\Translator $translator )
$translator Piwik\Translation\Translator

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

This will check piwik.org at most once per 10s.
public checkForUpdates ( )

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

public getDefaultAction ( )

getDefaultIndexView() защищенный Метод

protected getDefaultIndexView ( )

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

Render the entire row evolution popover for multiple rows

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

Generic method to get an evolution graph or a sparkline for the row evolution popover
public getRowEvolutionGraph ( $fetch = false, $rowEvolution = null )

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

Render the entire row evolution popover for a single row

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

public index ( )

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

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

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

Redirects the user to a paypal so they can donate to Piwik.
public redirectToPaypal ( )

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

public renderReportWidget ( Report $report )
$report Piwik\Plugin\Report

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

public renderWidget ( Widget $widget ) : mixed
$widget Piwik\Widget\Widget
Результат mixed

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

This is only used for exported widgets
public renderWidgetContainer ( ) : string
Результат string

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

setDateTodayIfWebsiteCreatedToday() защищенный Метод

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

public showInContext ( )