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 TDBMultiSearch

Description

Database Multisearch Widget

Located in /widget/wrapper/TDBMultiSearch.php (line 26)

TField
   |
   --TSelect
      |
      --TMultiSearch
         |
         --TDBMultiSearch
Direct descendents
Class Description
TDBUniqueSearch DBUnique Search Widget
Variable Summary
mixed $column
mixed $criteria
mixed $database
mixed $editable
mixed $height
mixed $id
mixed $idSearch
mixed $items
mixed $key
mixed $mask
mixed $maxSize
mixed $minLength
mixed $model
mixed $operator
mixed $orderColumn
mixed $seed
mixed $service
mixed $size
Method Summary
__construct ($name, $database, $model, $key, $value, [$orderColumn = NULL], [$criteria = NULL])
setMask ($mask)
setOperator ($operator)
setService ($service)
setValue ($values)
show ()
Variables
mixed $changeFunction (line 46)
  • access: protected

Redefinition of:
TMultiSearch::$changeFunction
mixed $column (line 38)
  • access: protected

Redefined in descendants as:
mixed $criteria (line 41)
  • access: protected
mixed $database (line 35)
  • access: protected

Redefined in descendants as:
mixed $editable (line 45)
  • access: protected

Redefinition of:
TMultiSearch::$editable
mixed $height (line 32)
  • access: protected

Redefinition of:
TMultiSearch::$height
mixed $id (line 28)
  • access: protected

Redefinition of:
TMultiSearch::$id
mixed $idSearch (line 47)
  • access: protected
mixed $initialItems (line 29)
  • access: protected
mixed $items (line 30)
  • access: protected

Redefinition of:
TMultiSearch::$items

Redefined in descendants as:
mixed $key (line 37)
  • access: protected

Redefined in descendants as:
mixed $mask (line 42)
  • access: protected

Redefined in descendants as:
mixed $maxSize (line 34)
  • access: protected

Redefinition of:
TMultiSearch::$maxSize
mixed $minLength (line 33)
  • access: protected

Redefinition of:
TMultiSearch::$minLength
mixed $model (line 36)
  • access: protected

Redefined in descendants as:
mixed $operator (line 39)
  • access: protected
mixed $orderColumn (line 40)
  • access: protected
mixed $seed (line 44)
  • access: protected
mixed $service (line 43)
  • access: protected
mixed $size (line 31)
  • access: protected

Redefinition of:
TMultiSearch::$size

Inherited Variables

Inherited from TMultiSearch

TMultiSearch::$allowClear
TMultiSearch::$allowSearch
TMultiSearch::$changeAction
TMultiSearch::$separator
TMultiSearch::$value

Inherited from TSelect

TSelect::$defaultOption
TSelect::$formName

Inherited from TField

TField::$label
TField::$name
TField::$tag
Methods
Constructor __construct (line 59)

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:
TMultiSearch::__construct()
Class Constructor

Redefined in descendants as:
disableIdSearch (line 126)

Disable search by id

  • access: public
disableIdSearch ()
getPostData (line 213)

Return the post data

  • access: public
getPostData ()

Redefinition of:
TMultiSearch::getPostData()
Return the post data

Redefined in descendants as:
setMask (line 144)

Define the display mask

  • access: public
setMask ($mask)
  • $mask: Show mask
setOperator (line 135)

Define the search operator

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

Define the search service

  • access: public
setService ($service)
  • $service: Search service
setValue (line 153)

Define the field's value

  • access: public
setValue ($values)
  • $values: An array the field's values

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

Redefined in descendants as:
show (line 275)

Shows the widget

  • access: public
show ()

Redefinition of:
TMultiSearch::show()
Shows the widget

Redefined in descendants as:

Inherited Methods

Inherited From TMultiSearch

TMultiSearch::__construct()
TMultiSearch::clearField()
TMultiSearch::disableClear()
TMultiSearch::disableField()
TMultiSearch::disableMultiple()
TMultiSearch::disableSearch()
TMultiSearch::enableField()
TMultiSearch::getPostData()
TMultiSearch::getSize()
TMultiSearch::setMaxSize()
TMultiSearch::setMinLength()
TMultiSearch::setSize()
TMultiSearch::setValue()
TMultiSearch::setValueSeparator()
TMultiSearch::show()

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()