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 TMultiSearch

Description

Implements interfaces:

Multi Search Widget

Located in /widget/form/TMultiSearch.php (line 26)

TField
   |
   --TSelect
      |
      --TMultiSearch
Direct descendents
Class Description
TUniqueSearch Unique Search Widget
TDBMultiSearch Database Multisearch Widget
Variable Summary
mixed $allowClear
mixed $allowSearch
mixed $editable
mixed $height
mixed $id
mixed $items
mixed $maxSize
mixed $minLength
mixed $separator
mixed $size
mixed $value
Method Summary
static clearField ($form_name, $field)
static disableField ($form_name, $field)
static enableField ($form_name, $field)
__construct ($name)
getSize ()
setMaxSize ($maxsize)
setMinLength ($length)
setSize ($width, [$height = NULL])
setValue ($value)
show ()
Variables
mixed $allowClear (line 37)
  • access: protected
mixed $allowSearch (line 38)
  • access: protected
mixed $changeAction (line 35)
  • access: protected

Redefinition of:
TSelect::$changeAction
mixed $changeFunction (line 36)
  • access: protected

Redefinition of:
TSelect::$changeFunction

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

Redefinition of:
TField::$editable

Redefined in descendants as:
mixed $height (line 31)
  • access: protected

Redefinition of:
TSelect::$height

Redefined in descendants as:
mixed $id (line 28)
  • access: protected

Redefinition of:
TSelect::$id

Redefined in descendants as:
mixed $items (line 29)
  • access: protected

Redefinition of:
TSelect::$items

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

Redefined in descendants as:
mixed $minLength (line 32)
  • access: protected

Redefined in descendants as:
mixed $separator (line 39)
  • access: protected

Redefinition of:
TSelect::$separator
mixed $size (line 30)
  • access: protected

Redefinition of:
TField::$size

Redefined in descendants as:
mixed $value (line 40)
  • access: protected

Redefinition of:
TSelect::$value

Inherited Variables

Inherited from TSelect

TSelect::$defaultOption
TSelect::$formName
TSelect::$withTitles

Inherited from TField

TField::$label
TField::$name
TField::$properties
TField::$tag
TField::$valueCallback
Methods
static clearField (line 228)

Clear the field

  • access: public
static clearField ($form_name, $field)
  • $form_name: Form name
  • $field: Field name

Redefinition of:
TSelect::clearField()
Clear the field
static disableField (line 218)

Disable the field

  • access: public
static disableField ($form_name, $field)
  • $form_name: Form name
  • $field: Field name

Redefinition of:
TSelect::disableField()
Disable the field
static enableField (line 208)

Enable the field

  • access: public
static enableField ($form_name, $field)
  • $form_name: Form name
  • $field: Field name

Redefinition of:
TSelect::enableField()
Enable the field
Constructor __construct (line 46)

Class Constructor

  • access: public
__construct ($name)
  • $name: Widget's name

Redefinition of:
TSelect::__construct()
Class Constructor

Redefined in descendants as:
disableClear (line 74)

Disable clear

  • access: public
disableClear ()
disableMultiple (line 66)

Disable multiple selection

  • access: public
disableMultiple ()

Redefinition of:
TSelect::disableMultiple()
Disable multiple selection
disableSearch (line 82)

Disable search

  • access: public
disableSearch ()
getPostData (line 165)

Return the post data

  • access: public
getPostData ()

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

Redefined in descendants as:
getSize (line 105)

Returns the size

  • return: height)
  • access: public
getSize ()

Redefinition of:
TSelect::getSize()
Returns the size

Redefined in descendants as:
setMaxSize (line 121)

Define the maximum number of items that can be selected

  • access: public
setMaxSize ($maxsize)
  • $maxsize
setMinLength (line 113)

Define the minimum length for search

  • access: public
setMinLength ($length)
  • $length
setSize (line 92)

Define the widget's size

  • access: public
setSize ($width, [$height = NULL])
  • $width: Widget's width
  • $height: Widget's height

Redefinition of:
TSelect::setSize()
Define the Field's width
setValue (line 145)

Define the field's value

  • access: public
setValue ($value)
  • $value: A string containing the field's value

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

Implementation of:
AdiantiWidgetInterface::setValue()

Redefined in descendants as:
setValueSeparator (line 136)

Define the field's separator

  • access: public
setValueSeparator ($sep)
  • $sep: A string containing the field's separator

Redefinition of:
TSelect::setValueSeparator()
Define the field's separator
show (line 236)

Shows the widget

  • access: public
show ()

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

Implementation of:
AdiantiWidgetInterface::show()

Redefined in descendants as:

Inherited Methods

Inherited From TSelect

TSelect::__construct()
TSelect::addItems()
TSelect::clearField()
TSelect::disableField()
TSelect::disableMultiple()
TSelect::disableTitles()
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::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()