menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class TDropDown

Description

TDropDown Widget

Located in /widget/util/TDropDown.php (line 19)

TElement
   |
   --TDropDown
Variable Summary
mixed $elements
Method Summary
__construct ($label, [$icon = NULL], [$use_caret = TRUE], [$title = ''], [$height = null])
addAction ($title, $action, [$icon = NULL])
addHeader ($header)
setButtonClass ($class)
setButtonSize ($size)
setPullSide ($side)
Variables
mixed $elements (line 21)
  • access: protected

Inherited Variables

Inherited from TElement

TElement::$children
Methods
Constructor __construct (line 29)

Class Constructor

  • access: public
__construct ($label, [$icon = NULL], [$use_caret = TRUE], [$title = ''], [$height = null])
  • $label: Dropdown title
  • $icon: Dropdown icon
  • $use_caret
  • $title
  • $height

Redefinition of:
TElement::__construct()
Class Constructor
addAction (line 112)

Add an action

  • access: public
addAction ($title, $action, [$icon = NULL])
  • $title: Title
  • $action: Action (TAction or string Javascript action)
  • $icon: Icon
addHeader (line 147)

Add a header

  • access: public
addHeader ($header)
  • $header: Options Header
addSeparator (line 159)

Add a separator

  • access: public
addSeparator ()
getButton (line 101)

Returns the dropdown button

  • access: public
getButton ()
setButtonClass (line 93)

Define the button class

  • access: public
setButtonClass ($class)
  • $class
setButtonSize (line 84)

Define the button size

  • access: public
setButtonSize ($size)
  • $size
setPullSide (line 75)

Define the pull side

  • access: public
setPullSide ($side)
  • $side

Inherited Methods

Inherited From TElement

TElement::__construct()
TElement::add()
TElement::clearChildren()
TElement::close()
TElement::del()
TElement::get()
TElement::getChildren()
TElement::getContents()
TElement::getIsWrapped()
TElement::getName()
TElement::getProperties()
TElement::getProperty()
TElement::insert()
TElement::open()
TElement::setIsWrapped()
TElement::setName()
TElement::setProperty()
TElement::setUseLineBreaks()
TElement::setUseSingleQuotes()
TElement::show()
TElement::tag()
TElement::__clone()
TElement::__get()
TElement::__isset()
TElement::__set()
TElement::__toString()
TElement::__unset()