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