Vitex Software's Ease Twitter Bootstrap4

Navbar extends NavTag

Bootstrap4 NavBar.

Table of Contents

$leftContent  : array
Vnitřek menu.
$mainpage  : string
Brand link destination
$rightContent  : UlTag
Položky menu přidávané vpravo.
$navBarName  : string
__construct()  : mixed
Menu aplikace.
addDropDownMenu()  : NavItemDropDown
Add Dropdown menu to nav
addMenuItem()  : LiTag
Add new Menu Item into navbar
finalize()  : mixed
navbarCollapse()  : DivTagnavbar
Navbar collapse helper
navBarToggler()  : mixed

Properties

$leftContent

Vnitřek menu.

public array $leftContent = null

$mainpage

Brand link destination

public string $mainpage = '#'

$rightContent

Položky menu přidávané vpravo.

public UlTag $rightContent = null

$navBarName

private string $navBarName = 'nav'

Methods

__construct()

Menu aplikace.

public __construct([string $brand = null ][, string $name = 'navbar' ][, array $properties = [] ]) : mixed
Parameters
$brand : string = null
$name : string = 'navbar'
$properties : array = []
Return values
mixed

addDropDownMenu()

Add Dropdown menu to nav

public addDropDownMenu(string $label, array $items[, string $placement = 'left' ]) : NavItemDropDown
Parameters
$label : string

submenu label

$items : array

['url'=>'label','url2'=>'label2','divider1'=>'',...]

$placement : string = 'left'

"left" is default

Return values
NavItemDropDown

addMenuItem()

Add new Menu Item into navbar

public addMenuItem(mixed $content[, bool $enabled = true ][, string $placement = 'left' ]) : LiTag
Parameters
$content : mixed

to insert in menu

$enabled : bool = true

false give you gray nonclickable menu item

$placement : string = 'left'

"left" is default

Return values
LiTag

MenuItem added

finalize()

public finalize() : mixed
Return values
mixed

navbarCollapse()

Navbar collapse helper

public navbarCollapse() : DivTagnavbar
Return values
DivTagnavbar

collapse

navBarToggler()

public navBarToggler() : mixed
Return values
mixed

Search results