HamburgerHelper
extends Helper
in package
This is a helper class is used to draw the hamburger menu symbol and associated link to the settings menu
Tags
Table of Contents
- __construct() : mixed
- The constructor at this point does nothing
- render() : mixed
- Used to draw the hamburger menu symbol and associated link to the settings menu
Methods
__construct()
The constructor at this point does nothing
public
__construct() : mixed
Return values
mixed —render()
Used to draw the hamburger menu symbol and associated link to the settings menu
public
render(bool $logged_in[, mixed $has_div_id = true ]) : mixed
Parameters
- $logged_in : bool
-
whether or not the user is logged in. If so, the hamburger menu symbol draws the users name
- $has_div_id : mixed = true