TDropDown
extends TElement
in package
TDropDown Widget
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- Class Constructor
- addAction() : mixed
- Add an action
- addActionGroup() : mixed
- Add an action group
- addHeader() : mixed
- Add a header
- addPostAction() : mixed
- Add an action
- addSeparator() : mixed
- Add a separator
- clearItems() : mixed
- Clear child elements
- getButton() : mixed
- Returns the dropdown button
- setButtonClass() : mixed
- Define the button class
- setButtonSize() : mixed
- Define the button size
- setPullSide() : mixed
- Define the pull side
Properties
$elements
protected
mixed
$elements
$button
private
mixed
$button
Methods
__construct()
Class Constructor
public
__construct(mixed $label[, $icon = NULL ][, mixed $use_caret = FALSE ][, $title = '' ][, mixed $height = null ]) : mixed
Parameters
addAction()
Add an action
public
addAction( $title, $action[, $icon = NULL ][, mixed $popover = '' ][, mixed $add = true ]) : mixed
Parameters
addActionGroup()
Add an action group
public
addActionGroup(mixed $title, mixed $actions, mixed $icon) : mixed
Parameters
- $title : mixed
- $actions : mixed
- $icon : mixed
addHeader()
Add a header
public
addHeader( $header) : mixed
Parameters
addPostAction()
Add an action
public
addPostAction( $title, $action, mixed $form[, $icon = NULL ][, mixed $popover = '' ][, mixed $add = true ]) : mixed
Parameters
addSeparator()
Add a separator
public
addSeparator() : mixed
clearItems()
Clear child elements
public
clearItems() : mixed
getButton()
Returns the dropdown button
public
getButton() : mixed
setButtonClass()
Define the button class
public
setButtonClass(mixed $class) : mixed
Parameters
- $class : mixed
Tags
setButtonSize()
Define the button size
public
setButtonSize(mixed $size) : mixed
Parameters
- $size : mixed
Tags
setPullSide()
Define the pull side
public
setPullSide(mixed $side) : mixed
Parameters
- $side : mixed