Lançado Adianti Framework 7.6!
Clique aqui para saber mais
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 TDBSeekButton

Description

Abstract Record Lookup Widget: Creates a lookup field used to search values from associated entities

Located in /widget/wrapper/TDBSeekButton.php (line 24)

TField
   |
   --TEntry
      |
      --TSeekButton
         |
         --TDBSeekButton
Method Summary
__construct ($name, $database, $form, $model, $display_field, [$receive_key = null], [$receive_display_field = null], [$criteria = NULL], [$operator = 'like'])
setCriteria ($criteria)
setDisplayLabel ($label)
setDisplayMask ($mask)
setOperator ($operator)
setValue ($value)
Methods
Constructor __construct (line 36)

Class Constructor

  • access: public
__construct ($name, $database, $form, $model, $display_field, [$receive_key = null], [$receive_display_field = null], [$criteria = NULL], [$operator = 'like'])
  • $name: name of the form field
  • $database: name of the database connection
  • $form: name of the parent form
  • $model: name of the Active Record to be searched
  • $display_field: name of the field to be searched and shown
  • $receive_key: name of the form field to receive the primary key
  • $receive_display_field: name of the form field to receive the "display field"
  • $criteria
  • $operator

Redefinition of:
TSeekButton::__construct()
Class Constructor
setCriteria (line 78)

Set search criteria

  • access: public
setCriteria ($criteria)
  • $criteria
setDisplayLabel (line 104)

Set display label

  • access: public
setDisplayLabel ($label)
  • $label: Display label
setDisplayMask (line 95)

Set display mask

  • access: public
setDisplayMask ($mask)
  • $mask: Display mask
setOperator (line 86)

Set operator

  • access: public
setOperator ($operator)
  • $operator
setValue (line 113)

Define the field's value

  • access: public
setValue ($value)
  • $value: Current value

Redefinition of:
TEntry::setValue()
Define the field's value

Inherited Methods

Inherited From TSeekButton

TSeekButton::__construct()
TSeekButton::createButton()
TSeekButton::disableField()
TSeekButton::enableField()
TSeekButton::getAction()
TSeekButton::getExtraSize()
TSeekButton::hasAuxiliar()
TSeekButton::setAction()
TSeekButton::setAuxiliar()
TSeekButton::setExtraSize()
TSeekButton::setSize()
TSeekButton::setUseOutEvent()
TSeekButton::show()
TSeekButton::__get()

Inherited From TEntry

TEntry::__construct()
TEntry::changeMask()
TEntry::exitOnEnter()
TEntry::forceLowerCase()
TEntry::forceUpperCase()
TEntry::formatMask()
TEntry::getPostData()
TEntry::reloadCompletion()
TEntry::setCompletion()
TEntry::setDelimiter()
TEntry::setExitAction()
TEntry::setExitFunction()
TEntry::setInnerIcon()
TEntry::setInputType()
TEntry::setMask()
TEntry::setMaxLength()
TEntry::setMinLength()
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::getPropertiesAsString()
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::setValueCallback()
TField::validate()
TField::__call()
TField::__clone()
TField::__get()
TField::__isset()
TField::__set()
TField::__toString()