menu Function

Returns a menu by name.

Summary

ElementFunction
ReturnsString

Arguments

nameString[required] The name of the menu to load.

Example

$this->menu('main');