PHP Class Piwik\Plugins\ExampleReport\Reports\GetExampleReport

See {@link http://developer.piwik.org/api-reference/Piwik/Plugin/Report} for more information.
Inheritance: extends Base
Show file Open project: piwik/piwik Class Usage Examples

Public Methods

Method Description
configureView ( ViewDataTable $view ) Here you can configure how your report should be displayed. For instance whether your report supports a search etc. You can also change the default request config. For instance change how many rows are displayed by default.
getRelatedReports ( ) : Report[] Here you can define related reports that will be shown below the reports. Just return an array of related report instances if there are any.

Protected Methods

Method Description
init ( )

Method Details

configureView() public method

Here you can configure how your report should be displayed. For instance whether your report supports a search etc. You can also change the default request config. For instance change how many rows are displayed by default.
public configureView ( ViewDataTable $view )
$view Piwik\Plugin\ViewDataTable

getRelatedReports() public method

Here you can define related reports that will be shown below the reports. Just return an array of related report instances if there are any.
public getRelatedReports ( ) : Report[]
return Piwik\Plugin\Report[]

init() protected method

protected init ( )