PHP Класс Piwik\Report\ReportWidgetConfig

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

Защищенные свойства (Protected)

Свойство Тип Описание
$forceViewDataTable
$viewDataTable

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

Метод Описание
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()}.

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

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

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 getParameters ( )

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

Get the specified viewDataTable.
public getViewDataTable ( ) : string
Результат string

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

Detect whether a defined viewDataTable should be forced in order to render a report.
public isViewDataTableForced ( ) : boolean
Результат boolean

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

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'
Результат static

Описание свойств

$forceViewDataTable защищенное свойство

protected $forceViewDataTable

$viewDataTable защищенное свойство

protected $viewDataTable