PHP 클래스 Piwik\Plugins\Dashboard\Controller

상속: extends Piwik\Plugin\Controller
파일 보기 프로젝트 열기: piwik/piwik

공개 메소드들

메소드 설명
copyDashboardToUser ( )
createNewDashboard ( ) Creates a new dashboard for the current user User needs to be logged in
embeddedIndex ( ) this
getAllDashboards ( ) Outputs all available dashboards for the current user as a JSON string
getDashboardLayout ( $checkToken = true )
index ( ) this is the exported widget
removeDashboard ( ) Removes the dashboard with the given id
resetLayout ( ) Resets the dashboard to the default widget configuration
saveLayout ( ) Saves the layout for the current user anonymous = in the session authenticated user = in the DB
saveLayoutAsDefault ( ) Saves the layout as default

보호된 메소드들

메소드 설명
_getDashboardView ( $template )
getAvailableLayouts ( ) : array Returns all available column layouts for the dashboard
getLayout ( integer $idDashboard ) : string Get the dashboard layout for the current user (anonymous or logged user)
init ( )

비공개 메소드들

메소드 설명
getModel ( )

메소드 상세

_getDashboardView() 보호된 메소드

protected _getDashboardView ( $template )

copyDashboardToUser() 공개 메소드

public copyDashboardToUser ( )

createNewDashboard() 공개 메소드

Creates a new dashboard for the current user User needs to be logged in
public createNewDashboard ( )

embeddedIndex() 공개 메소드

this
public embeddedIndex ( )

getAllDashboards() 공개 메소드

Outputs all available dashboards for the current user as a JSON string
public getAllDashboards ( )

getAvailableLayouts() 보호된 메소드

Returns all available column layouts for the dashboard
protected getAvailableLayouts ( ) : array
리턴 array

getDashboardLayout() 공개 메소드

public getDashboardLayout ( $checkToken = true )

getLayout() 보호된 메소드

Get the dashboard layout for the current user (anonymous or logged user)
protected getLayout ( integer $idDashboard ) : string
$idDashboard integer
리턴 string $layout

index() 공개 메소드

this is the exported widget
public index ( )

init() 보호된 메소드

protected init ( )

removeDashboard() 공개 메소드

Removes the dashboard with the given id
public removeDashboard ( )

resetLayout() 공개 메소드

Resets the dashboard to the default widget configuration
public resetLayout ( )

saveLayout() 공개 메소드

Saves the layout for the current user anonymous = in the session authenticated user = in the DB
public saveLayout ( )

saveLayoutAsDefault() 공개 메소드

Saves the layout as default
public saveLayoutAsDefault ( )