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 TDBSelect

Description

Database Select Widget

Located in /widget/wrapper/TDBSelect.php (line 22)

TField
   |
   --TSelect
      |
      --TDBSelect
Variable Summary
mixed $items
Method Summary
__construct ($name, $database, $model, $key, $value, [$ordercolumn = NULL], [$criteria = NULL])
Methods
Constructor __construct (line 36)

Class Constructor

  • access: public
__construct ($name, $database, $model, $key, $value, [$ordercolumn = NULL], [$criteria = NULL])
  • $name: widget's name
  • $database: database name
  • $model: model class name
  • $key: table field to be used as key in the combo
  • $value: table field to be listed in the combo
  • $ordercolumn: column to order the fields (optional)
  • $criteria: criteria (TCriteria object) to filter the model (optional)

Redefinition of:
TSelect::__construct()
Class Constructor

Inherited Methods

Inherited From TSelect

TSelect::__construct()
TSelect::addItems()
TSelect::clearField()
TSelect::disableField()
TSelect::disableMultiple()
TSelect::enableField()
TSelect::getItems()
TSelect::getPostData()
TSelect::getSize()
TSelect::reload()
TSelect::renderItems()
TSelect::setChangeAction()
TSelect::setChangeFunction()
TSelect::setDefaultOption()
TSelect::setSize()
TSelect::setValue()
TSelect::setValueSeparator()
TSelect::show()

Inherited From TField

TField::__construct()
TField::addValidation()
TField::clearField()
TField::disableField()
TField::enableField()
TField::getContents()
TField::getEditable()
TField::getFormName()
TField::getId()
TField::getLabel()
TField::getName()
TField::getPostData()
TField::getProperty()
TField::getSize()
TField::getValidations()
TField::getValue()
TField::isRequired()
TField::setEditable()
TField::setFormName()
TField::setId()
TField::setLabel()
TField::setName()
TField::setProperty()
TField::setSize()
TField::setTip()
TField::setValue()
TField::validate()
TField::__call()
TField::__clone()
TField::__get()
TField::__set()