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

TField
   |
   --TEntry
Direct descendents
Class Description
TNumeric Numeric Widget
TDateTime DateTimePicker Widget
TColor Color Widget
TIcon Color Widget
TSeekButton Record Lookup Widget: Creates a lookup field used to search values from associated entities
TTime TimePicker Widget
TDate DatePicker Widget
TDBEntry Database Entry Widget
Variable Summary
Method Summary
static reloadCompletion ($field, $options)
__construct ($name)
formatMask ($mask, $value)
setCompletion ($options)
setExitAction ($action)
setExitFunction ($function)
setInputType ($type)
setMask ($mask, [$replaceOnPost = FALSE])
setMaxLength ($length)
setNumericMask ($decimals, $decimalsSeparator, $thousandSeparator, [$replaceOnPost = FALSE])
setValue ($value)
show ()
Variables
mixed $completion (line 25)
  • access: protected
mixed $decimals (line 27)
  • access: protected
mixed $decimalsSeparator (line 28)
  • access: protected
mixed $exitAction (line 32)
  • access: protected
mixed $exitFunction (line 31)
  • access: protected
mixed $formName (line 34)
  • access: protected

Redefinition of:
TField::$formName

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

Redefinition of:
TField::$id

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

Redefinition of:
TField::$name

Redefined in descendants as:
mixed $numericMask (line 26)
  • access: protected
mixed $replaceOnPost (line 30)
  • access: protected

Redefined in descendants as:
mixed $thousandSeparator (line 29)
  • access: protected
mixed $value (line 36)
  • access: protected

Redefinition of:
TField::$value

Redefined in descendants as:

Inherited Variables

Inherited from TField

TField::$editable
TField::$label
TField::$size
TField::$tag
Methods
static reloadCompletion (line 227)

Reload completion

  • access: public
static reloadCompletion ($field, $options)
  • $field: Field name or id
  • $options: array of options for autocomplete
Constructor __construct (line 42)

Class Constructor

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

Redefinition of:
TField::__construct()
Class Constructor

Redefined in descendants as:
forceLowerCase (line 201)

Force lower case

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

Force upper case

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

Apply mask

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

Return the post data

  • access: public
getPostData ()

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

Redefined in descendants as:
setCompletion (line 167)

Define options for completion

setCompletion ($options)
  • $options: array of options for completion
setExitAction (line 176)

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

setExitAction ($action)
  • $action: TAction object
setExitFunction (line 193)

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

  • access: public
setExitFunction ($function)
  • $function: Javascript function
setInputType (line 55)

Define input type

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

Define the field's mask

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

Redefined in descendants as:
setMaxLength (line 155)

Define max length

  • access: public
setMaxLength ($length)
  • $length: Max length
setNumericMask (line 76)

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

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

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

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