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 TDBEntry

Description

Database Entry Widget

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

TField
   |
   --TEntry
      |
      --TDBEntry
Variable Summary
mixed $displayMask
mixed $minLength
mixed $service
Method Summary
__construct ($name, $database, $model, $value, [$orderColumn = NULL], [$criteria = NULL])
setDisplayMask ($mask)
setMinLength ($length)
setOperator ($operator)
setService ($service)
show ()
Variables
Methods
Constructor __construct (line 43)

Class Constructor

  • access: public
__construct ($name, $database, $model, $value, [$orderColumn = NULL], [$criteria = NULL])
  • $name: widget's name
  • $database: database name
  • $model: model class name
  • $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:
TEntry::__construct()
Class Constructor
setDisplayMask (line 80)

Define the display mask

  • access: public
setDisplayMask ($mask)
  • $mask: Show mask
setMinLength (line 97)

Define the minimum length for search

  • access: public
setMinLength ($length)
  • $length
setOperator (line 106)

Define the search operator

  • access: public
setOperator ($operator)
  • $operator: Search operator
setService (line 89)

Define the search service

  • access: public
setService ($service)
  • $service: Search service
show (line 114)

Shows the widget

  • access: public
show ()

Redefinition of:
TEntry::show()
Shows the widget at the screen

Inherited Methods

Inherited From TEntry

TEntry::__construct()
TEntry::forceLowerCase()
TEntry::forceUpperCase()
TEntry::formatMask()
TEntry::getPostData()
TEntry::reloadCompletion()
TEntry::setCompletion()
TEntry::setExitAction()
TEntry::setExitFunction()
TEntry::setInputType()
TEntry::setMask()
TEntry::setMaxLength()
TEntry::setNumericMask()
TEntry::setValue()
TEntry::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()