Vitex Software's Ease Twitter Bootstrap4

DropdownLink extends DivTag

Description of Dropdown

Tags
author

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

Table of Contents

$dropdownMenu  : DivTag
__construct()  : mixed
Dropdown menu
addDropdownItem()  : mixed
add one dropdown item
finalize()  : mixed
handle()  : ATag
Dropdown handle

Properties

Methods

__construct()

Dropdown menu

public __construct(string $heading[, string $type = 'link' ][, array $items = [] ][, array $properties = [] ]) : mixed
Parameters
$heading : string
$type : string = 'link'

one of primary|secondary|success|danger|warning|info|light|dark|link

$items : array = []
$properties : array = []
Return values
mixed

addDropdownItem()

add one dropdown item

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

or empty for divider

$url : string
Return values
mixed

finalize()

public finalize() : mixed
Return values
mixed

handle()

Dropdown handle

public handle(string $heading, string $type) : ATag
Parameters
$heading : string
$type : string

one of primary|secondary|success|danger|warning|info|light|dark|link

Return values
ATag

Search results