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
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)
setUseOutEvent ($bool)
show ()
__get ($name)
Variables
mixed $auxiliar (line 33)
  • access: protected
mixed $formName (line 35)
  • access: protected

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

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

Redefinition of:
TEntry::$name

Inherited Variables

Inherited from TEntry

TEntry::$completion
TEntry::$decimals
TEntry::$decimalsSeparator
TEntry::$exitAction
TEntry::$exitFunction
TEntry::$numericMask
TEntry::$replaceOnPost
TEntry::$thousandSeparator
TEntry::$value

Inherited from TField

TField::$editable
TField::$label
TField::$size
TField::$tag
Methods
static createButton (line 54)

Create seek button object

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

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

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

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

Return the action

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

Returns extra size

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

Returns if has auxiliar field

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

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

Define an auxiliar field

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

Set extra size

  • access: public
setExtraSize ($extra_size)
  • $extra_size
setUseOutEvent (line 88)

Define it the out event will be fired

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

Show the widget

  • access: public
show ()

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

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

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