PHP Class Piwik\Report\ReportWidgetConfig

Inheritance: extends Piwik\Widget\WidgetConfig
Afficher le fichier Open project: piwik/piwik Class Usage Examples

Protected Properties

Свойство Type Description
$forceViewDataTable
$viewDataTable

Méthodes publiques

Méthode Description
forceViewDataTable ( string $viewDataTableId ) Forces the usage of the given viewDataTable in order to render the report.
getParameters ( )
getViewDataTable ( ) : string Get the specified viewDataTable.
isViewDataTableForced ( ) : boolean Detect whether a defined viewDataTable should be forced in order to render a report.
setDefaultViewDataTable ( string $viewDataTableId ) : static Sets a default viewDataTable that should be used to render the report. This is not neccessarily the view that will be actually used to render the report. Eg if a user switched manually to another viewDataTable Piwik will re-use the viewDataTable that was used the last time. If you want to force the usage of a viewDataTable use {@link forceViewDataTable()}.

Method Details

forceViewDataTable() public méthode

Forces the usage of the given viewDataTable in order to render the report.
public forceViewDataTable ( string $viewDataTableId )
$viewDataTableId string eg 'table' or 'graph'

getParameters() public méthode

public getParameters ( )

getViewDataTable() public méthode

Get the specified viewDataTable.
public getViewDataTable ( ) : string
Résultat string

isViewDataTableForced() public méthode

Detect whether a defined viewDataTable should be forced in order to render a report.
public isViewDataTableForced ( ) : boolean
Résultat boolean

setDefaultViewDataTable() public méthode

Sets a default viewDataTable that should be used to render the report. This is not neccessarily the view that will be actually used to render the report. Eg if a user switched manually to another viewDataTable Piwik will re-use the viewDataTable that was used the last time. If you want to force the usage of a viewDataTable use {@link forceViewDataTable()}.
public setDefaultViewDataTable ( string $viewDataTableId ) : static
$viewDataTableId string eg 'table' or 'graph'
Résultat static

Property Details

$forceViewDataTable protected_oe property

protected $forceViewDataTable

$viewDataTable protected_oe property

protected $viewDataTable