\OCPINavigationManager

Manages the ownCloud navigation

Summary

Methods
Constants
add()
setActiveEntry()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

add()

add(array|\Closure  $entry) : void

Creates a new navigation entry

Parameters

array|\Closure $entry

Array containing: id, name, order, icon and href key The use of a closure is preferred, because it will avoid loading the routing of your app, unless required.

setActiveEntry()

setActiveEntry(string  $appId) : void

Sets the current navigation entry of the currently running app

Parameters

string $appId

id of the app entry to activate (from added $entry)