Class Constructor
__construct
($label, [$icon = NULL], [$use_caret = FALSE], [$title = ''], [$height = null])
-
$label: Dropdown title
-
$icon: Dropdown icon
-
$use_caret
-
$title
-
$height
Redefinition of:
- TElement::__construct()
- Class Constructor
Add an action
addAction
($title, $action, [$icon = NULL], [$popover = ''], [$add = true])
-
$title: Title
-
$action: Action (TAction or string Javascript action)
-
$icon: Icon
-
$popover
-
$add
Add an action group
addActionGroup
($title, $actions, $icon)
Add a header
addHeader
($header)
Add an action
addPostAction
($title, $action, $form, [$icon = NULL], [$popover = ''], [$add = true])
-
$title: Title
-
$action: Action (TAction or string Javascript action)
-
$form: Icon
-
$icon
-
$popover
-
$add
Add a separator
addSeparator
()
Clear child elements
clearItems
()
Returns the dropdown button
getButton
()
Define the button class
setButtonClass
($class)
Define the button size
setButtonSize
($size)
Define the pull side
setPullSide
($side)
Inherited Methods
Inherited From TElement
TElement::__construct()
TElement::add()
TElement::after()
TElement::clearChildren()
TElement::close()
TElement::closeTag()
TElement::del()
TElement::find()
TElement::get()
TElement::getAfterElement()
TElement::getChildren()
TElement::getContents()
TElement::getIsWrapped()
TElement::getName()
TElement::getProperties()
TElement::getProperty()
TElement::hide()
TElement::insert()
TElement::open()
TElement::openTag()
TElement::setIsWrapped()
TElement::setName()
TElement::setProperties()
TElement::setProperty()
TElement::setUseLineBreaks()
TElement::setUseSingleQuotes()
TElement::show()
TElement::tag()
TElement::__clone()
TElement::__get()
TElement::__isset()
TElement::__set()
TElement::__toString()
TElement::__unset()