phpBB API Documentation
Class

phpbb\install\helper\navigation\navigation_provider

class navigation_provider

Installers navigation provider

Methods

__construct(service_collection $plugins)

Constructor

array get()

Returns navigation array

register(navigation_interface $navigation)

Registers a navigation provider's navigation items

set_nav_property(array $nav_element, array $property_array)

Set a property in the navigation array

Details

at line 33
public __construct(service_collection $plugins)

Constructor

Parameters

service_collection $plugins

at line 48
public array get()

Returns navigation array

Return Value

array

at line 58
public register(navigation_interface $navigation)

Registers a navigation provider's navigation items

Parameters

navigation_interface $navigation

at line 70
public set_nav_property(array $nav_element, array $property_array)

Set a property in the navigation array

Parameters

array $nav_element Array to the navigation elem
array $property_array Array with the properties to set