Menus
in package
Table of Contents
Methods
- RenderGeneric() : void
- Render a generic menu with an optional subnavbar with the title.
- RenderHome() : void
- Render a home menu with its big logo and highlighted menu.
- RenderSection() : void
- Render a section menu with its title and subnavbar.
Methods
RenderGeneric()
Render a generic menu with an optional subnavbar with the title.
public
static RenderGeneric([string $name = '' ][, string $link = '' ]) : void
Parameters
- $name : string = ''
-
Title to show in the subnavbar. If empty no subnavbar will be rendered.
- $link : string = ''
RenderHome()
Render a home menu with its big logo and highlighted menu.
public
static RenderHome() : void
RenderSection()
Render a section menu with its title and subnavbar.
public
static RenderSection(int $sectionID) : void
Parameters
- $sectionID : int
-
ID of the section to render.