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 TDBSortList

Description

Database Sortlist Widget

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

TField
   |
   --TSortList
      |
      --TDBSortList
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:
TSortList::__construct()
Class Constructor

Inherited Methods

Inherited From TSortList

TSortList::__construct()
TSortList::addItems()
TSortList::clearField()
TSortList::connectTo()
TSortList::disableField()
TSortList::enableField()
TSortList::getItems()
TSortList::getPostData()
TSortList::setChangeAction()
TSortList::setChangeFunction()
TSortList::setItemIcon()
TSortList::setLimit()
TSortList::setOrientation()
TSortList::setSize()
TSortList::setValue()
TSortList::setValueSeparator()
TSortList::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()