PHP 클래스 Piwik\Menu\MenuAdmin

Plugins can implement the configureAdminMenu() 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 사용 예제들

공개 메소드들

메소드 설명
addDevelopmentItem ( string $menuName, array $url, integer $order = 50, boolean | string $tooltip = false ) See {@link add()}. Adds a new menu item to the development section of the admin menu.
addDiagnosticItem ( string $menuName, array $url, integer $order = 50, boolean | string $tooltip = false ) See {@link add()}. Adds a new menu item to the diagnostic section of the admin menu.
addMeasurableItem ( string $menuName, array $url, integer $order = 50, boolean | string $tooltip = false ) See {@link add()}. Adds a new menu item to the measurable section of the admin menu.
addPersonalItem ( string $menuName, array $url, integer $order = 50, boolean | string $tooltip = false ) See {@link add()}. Adds a new menu item to the manage section of the user menu.
addPlatformItem ( string $menuName, array $url, integer $order = 50, boolean | string $tooltip = false ) See {@link add()}. Adds a new menu item to the platform section of the admin menu.
addSystemItem ( string $menuName, array $url, integer $order = 50, boolean | string $tooltip = false ) See {@link add()}. Adds a new menu item to the manage section of the admin menu.
getMenu ( ) : Array Triggers the Menu.MenuAdmin.addItems hook and returns the admin menu.

메소드 상세

addDevelopmentItem() 공개 메소드

See {@link add()}. Adds a new menu item to the development section of the admin menu.
부터: 2.5.0
public addDevelopmentItem ( string $menuName, array $url, integer $order = 50, boolean | string $tooltip = false )
$menuName string
$url array
$order integer
$tooltip boolean | string

addDiagnosticItem() 공개 메소드

See {@link add()}. Adds a new menu item to the diagnostic section of the admin menu.
부터: 2.5.0
public addDiagnosticItem ( string $menuName, array $url, integer $order = 50, boolean | string $tooltip = false )
$menuName string
$url array
$order integer
$tooltip boolean | string

addMeasurableItem() 공개 메소드

See {@link add()}. Adds a new menu item to the measurable section of the admin menu.
부터: 3.0.0
public addMeasurableItem ( string $menuName, array $url, integer $order = 50, boolean | string $tooltip = false )
$menuName string
$url array
$order integer
$tooltip boolean | string

addPersonalItem() 공개 메소드

See {@link add()}. Adds a new menu item to the manage section of the user menu.
부터: 2.5.0
public addPersonalItem ( string $menuName, array $url, integer $order = 50, boolean | string $tooltip = false )
$menuName string
$url array
$order integer
$tooltip boolean | string

addPlatformItem() 공개 메소드

See {@link add()}. Adds a new menu item to the platform section of the admin menu.
부터: 2.5.0
public addPlatformItem ( string $menuName, array $url, integer $order = 50, boolean | string $tooltip = false )
$menuName string
$url array
$order integer
$tooltip boolean | string

addSystemItem() 공개 메소드

See {@link add()}. Adds a new menu item to the manage section of the admin menu.
부터: 3.0.0
public addSystemItem ( string $menuName, array $url, integer $order = 50, boolean | string $tooltip = false )
$menuName string
$url array
$order integer
$tooltip boolean | string

getMenu() 공개 메소드

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