PHP 클래스 Piwik\Menu\MenuTop

Plugins can implement the configureTopMenu() method of the Menu plugin class to add, rename of remove items. If your plugin does not have a Menu class yet you can create one using ./console generate:menu.
상속: extends MenuAbstract
파일 보기 프로젝트 열기: piwik/piwik 1 사용 예제들

공개 메소드들

메소드 설명
addHtml ( string $menuName, string $data, boolean $displayedForCurrentUser, integer $order, string $tooltip ) Directly adds a menu entry containing html.
getMenu ( ) : Array Triggers the Menu.Top.addItems hook and returns the menu.

메소드 상세

addHtml() 공개 메소드

Directly adds a menu entry containing html.
public addHtml ( string $menuName, string $data, boolean $displayedForCurrentUser, integer $order, string $tooltip )
$menuName string
$data string
$displayedForCurrentUser boolean
$order integer
$tooltip string Tooltip to display.

getMenu() 공개 메소드

Triggers the Menu.Top.addItems hook and returns the menu.
public getMenu ( ) : Array
리턴 Array