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 TSeekButton

Description

Implements interfaces:

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

Located in /widget/form/TSeekButton.php (line 27)

TField
   |
   --TEntry
      |
      --TSeekButton
Direct descendents
Class Description
TDBSeekButton Abstract Record Lookup Widget: Creates a lookup field used to search values from associated entities
Variable Summary
mixed $auxiliar
mixed $formName
mixed $id
mixed $name
mixed $size
Method Summary
static createButton ($name, $icon)
static disableField ($form_name, $field)
static enableField ($form_name, $field)
__construct ($name, [$icon = NULL])
setAction ($action)
setAuxiliar ($object)
setExtraSize ($extra_size)
setSize ($width, [$height = NULL])
setUseOutEvent ($bool)
show ()
__get ($name)
Variables
mixed $auxiliar (line 35)
  • access: protected
mixed $formName (line 37)
  • access: protected

Redefinition of:
TEntry::$formName
mixed $id (line 36)
  • access: protected

Redefinition of:
TEntry::$id
mixed $name (line 38)
  • access: protected

Redefinition of:
TEntry::$name
mixed $size (line 34)
  • access: protected

Redefinition of:
TField::$size

Inherited Variables

Inherited from TEntry

TEntry::$allowNegative
TEntry::$completion
TEntry::$decimals
TEntry::$decimalsSeparator
TEntry::$delimiter
TEntry::$exitAction
TEntry::$exitFunction
TEntry::$exitOnEnterOn
TEntry::$innerIcon
TEntry::$minLength
TEntry::$numericMask
TEntry::$replaceOnPost
TEntry::$reverse
TEntry::$thousandSeparator
TEntry::$value

Inherited from TField

TField::$editable
TField::$label
TField::$properties
TField::$tag
TField::$valueCallback
Methods
static createButton (line 58)

Create seek button object

  • access: public
static createButton ($name, $icon)
  • $name
  • $icon
static disableField (line 190)

Disable the field

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

Redefinition of:
TField::disableField()
Disable the field
static enableField (line 180)

Enable the field

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

Redefinition of:
TField::enableField()
Enable the field
Constructor __construct (line 44)

Class Constructor

  • access: public
__construct ($name, [$icon = NULL])
  • $name: name of the field
  • $icon

Redefinition of:
TEntry::__construct()
Class Constructor

Redefined in descendants as:
getAction (line 126)

Return the action

  • access: public
getAction ()
getExtraSize (line 170)

Returns extra size

  • access: public
getExtraSize ()
hasAuxiliar (line 154)

Returns if has auxiliar field

  • access: public
hasAuxiliar ()
setAction (line 118)

Define the action for the SeekButton

  • access: public
setAction ($action)
  • $action: Action taken when the user clicks over the Seek Button (A TAction object)
setAuxiliar (line 135)

Define an auxiliar field

  • access: public
setAuxiliar ($object)
  • $object: any TField object
setExtraSize (line 162)

Set extra size

  • access: public
setExtraSize ($extra_size)
  • $extra_size
setSize (line 93)

Define the Field's width

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

Redefinition of:
TField::setSize()
Define the Field's width
setUseOutEvent (line 108)

Define it the out event will be fired

  • access: public
setUseOutEvent ($bool)
  • $bool
show (line 198)

Show the widget

  • access: public
show ()

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

Implementation of:
AdiantiWidgetInterface::show()
__get (line 77)

Returns a property value

  • access: public
__get ($name)
  • $name: Property Name

Redefinition of:
TField::__get()
Returns a property value

Inherited Methods

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