PHP 클래스 Piwik\Plugin\ReportsProvider

파일 보기 프로젝트 열기: piwik/piwik 1 사용 예제들

공개 메소드들

메소드 설명
compareCategories ( $catIdA, $subcatIdA, $orderA, $catIdB, $subcatIdB, $orderB )
factory ( string $module, string $action ) : null | Report Get an instance of a specific report belonging to the given module and having the given action.
getAllReportClasses ( ) : string[] Returns class names of all Report metadata classes.
getAllReports ( ) : Report[] Returns a list of all available reports. Even not enabled reports will be returned. They will be already sorted depending on the order and category of the report.

비공개 메소드들

메소드 설명
getMapOfModuleActionsToReport ( )
sort ( Report $a, Report $b ) : integer API metadata are sorted by category/name, with a little tweak to replicate the standard Piwik category ordering

메소드 상세

compareCategories() 공개 메소드

public compareCategories ( $catIdA, $subcatIdA, $orderA, $catIdB, $subcatIdB, $orderB )

factory() 공개 정적인 메소드

Get an instance of a specific report belonging to the given module and having the given action.
public static factory ( string $module, string $action ) : null | Report
$module string
$action string
리턴 null | Report

getAllReportClasses() 공개 메소드

Returns class names of all Report metadata classes.
public getAllReportClasses ( ) : string[]
리턴 string[]

getAllReports() 공개 메소드

Returns a list of all available reports. Even not enabled reports will be returned. They will be already sorted depending on the order and category of the report.
public getAllReports ( ) : Report[]
리턴 Report[]