PHP 클래스 Piwik\Plugins\CoreHome\Controller

상속: extends Piwik\Plugin\Controller
파일 보기 프로젝트 열기: piwik/piwik 1 사용 예제들

공개 메소드들

메소드 설명
__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 ( )