Vitex Software's Ease Twitter Bootstrap5

NavItemDropDown extends LiTag
in package

Description of DropDown.

Tags
author

Vítězslav Dvořák info@vitexsoftware.cz

Table of Contents

$dropdownMenu  : UlTag
__construct()  : mixed
DropDown menu.
addDropdownItem()  : void
add one DropDown item.
finalize()  : void
handle()  : ATag
DropDown handle.

Properties

Methods

__construct()

DropDown menu.

public __construct(string $heading[, array<string|int, mixed> $items = [] ]) : mixed
Parameters
$heading : string
$items : array<string|int, mixed> = []
Return values
mixed

addDropdownItem()

add one DropDown item.

public addDropdownItem(string $label, string $url) : void
Parameters
$label : string

or empty for divider

$url : string
Return values
void

handle()

DropDown handle.

public handle(string $heading) : ATag
Parameters
$heading : string
Return values
ATag

Search results