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 TEntry

Description

Implements interfaces:

Entry Widget

Located in /widget/form/TEntry.php (line 23)

TField
   |
   --TEntry
Direct descendents
Class Description
TIcon Color Widget
TDateTime DateTimePicker Widget
TDate DatePicker Widget
TBarCodeInputReader BarCode Widget
TSeekButton Record Lookup Widget: Creates a lookup field used to search values from associated entities
TColor Color Widget
TTime TimePicker Widget
TNumeric Numeric Widget
TQRCodeInputReader QR Code Input Reader
TDBEntry Database Entry Widget
Variable Summary
Method Summary
static changeMask ($formName, $name, $mask)
static reloadCompletion ($field, $list, [$options = null])
__construct ($name)
formatMask ($mask, $value)
setCompletion ($options)
setDelimiter ($delimiter)
setExitAction ($action)
setExitFunction ($function)
setInnerIcon ($image, [$side = 'right'])
setInputType ($type)
setMask ($mask, [$replaceOnPost = FALSE])
setMaxLength ($length)
setMinLength ($length)
setNumericMask ($decimals, $decimalsSeparator, $thousandSeparator, [$replaceOnPost = FALSE], [$reverse = FALSE], [$allowNegative = TRUE])
setValue ($value)
show ()
Variables
mixed $allowNegative (line 32)
  • access: protected
mixed $completion (line 26)
  • access: protected
mixed $decimals (line 28)
  • access: protected
mixed $decimalsSeparator (line 29)
  • access: protected
mixed $delimiter (line 41)
  • access: protected
mixed $exitAction (line 35)
  • access: protected
mixed $exitFunction (line 34)
  • access: protected
mixed $exitOnEnterOn (line 42)
  • access: protected
mixed $formName (line 37)
  • access: protected

Redefinition of:
TField::$formName

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

Redefinition of:
TField::$id

Redefined in descendants as:
mixed $innerIcon (line 43)
  • access: protected
mixed $minLength (line 40)
  • access: protected

Redefined in descendants as:
mixed $name (line 38)
  • access: protected

Redefinition of:
TField::$name

Redefined in descendants as:
mixed $numericMask (line 27)
  • access: protected
mixed $replaceOnPost (line 33)
  • access: protected

Redefined in descendants as:
mixed $reverse (line 31)
  • access: protected
mixed $thousandSeparator (line 30)
  • access: protected
mixed $value (line 39)
  • access: protected

Redefinition of:
TField::$value

Redefined in descendants as:

Inherited Variables

Inherited from TField

TField::$editable
TField::$label
TField::$properties
TField::$size
TField::$tag
TField::$valueCallback
Methods
static changeMask (line 345)

Change mask dynamically

  • access: public
static changeMask ($formName, $name, $mask)
  • $formName
  • $name
  • $mask
static reloadCompletion (line 296)

Reload completion

  • access: public
static reloadCompletion ($field, $list, [$options = null])
  • $field: Field name or id
  • $list: array of options for autocomplete
  • $options
Constructor __construct (line 49)

Class Constructor

  • access: public
__construct ($name)
  • $name: name of the field

Redefinition of:
TField::__construct()
Class Constructor

Redefined in descendants as:
exitOnEnter (line 86)

Turn on exit on enter

  • access: public
exitOnEnter ()
forceLowerCase (line 253)

Force lower case

  • access: public
forceLowerCase ()
forceUpperCase (line 265)

Force upper case

  • access: public
forceUpperCase ()
formatMask (line 314)

Apply mask

  • access: protected
formatMask ($mask, $value)
  • $mask: Mask
  • $value: Value
getPostData (line 167)

Return the post data

  • access: public
getPostData ()

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

Redefined in descendants as:
setCompletion (line 219)

Define options for completion

setCompletion ($options)
  • $options: array of options for completion
setDelimiter (line 277)

Set autocomplete delimiter

  • access: public
setDelimiter ($delimiter)
  • $delimiter: autocomplete delimiter
setExitAction (line 228)

Define the action to be executed when the user leaves the form field

setExitAction ($action)
  • $action: TAction object

Redefined in descendants as:
setExitFunction (line 245)

Define the javascript function to be executed when the user leaves the form field

  • access: public
setExitFunction ($function)
  • $function: Javascript function
setInnerIcon (line 72)

Define the Inner icon

  • access: public
setInnerIcon ($image, [$side = 'right'])
  • $image
  • $side
setInputType (line 64)

Define input type

  • access: public
setInputType ($type)
  • $type
setMask (line 95)

Define the field's mask

  • access: public
setMask ($mask, [$replaceOnPost = FALSE])
  • $mask: A mask for input data
  • $replaceOnPost

Redefined in descendants as:
setMaxLength (line 207)

Define max length

  • access: public
setMaxLength ($length)
  • $length: Max length
setMinLength (line 285)

Define the minimum length for search

  • access: public
setMinLength ($length)
  • $length

Redefined in descendants as:
setNumericMask (line 108)

Define the field's numeric mask (available just in web)

  • access: public
setNumericMask ($decimals, $decimalsSeparator, $thousandSeparator, [$replaceOnPost = FALSE], [$reverse = FALSE], [$allowNegative = TRUE])
  • $decimals: Sets the number of decimal points.
  • $decimalsSeparator: Sets the separator for the decimal point.
  • $thousandSeparator: Sets the thousands separator.
  • $replaceOnPost: Sets negative allowed.
  • $reverse
  • $allowNegative
setValue (line 141)

Define the field's value

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

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

Implementation of:
AdiantiWidgetInterface::setValue()

Redefined in descendants as:
show (line 353)

Shows the widget at the screen

  • access: public
show ()

Implementation of:
AdiantiWidgetInterface::show()

Redefined in descendants as:

Inherited Methods

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