View::menu()
Creates the menu for the topbar
View::menu(array $areas = [ ], array $permissions = [ ], string $current = null): array
Parameters
Name | Type | Default |
---|---|---|
$areas | array |
[ ] |
$permissions | array |
[ ] |
$current | string |
null |
Return type
array