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 TText

Description

Implements interfaces:

Text Widget (also known as Memo)

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

TField
   |
   --TText
Variable Summary
mixed $formName
mixed $height
mixed $id
mixed $size
Method Summary
__construct ($name)
getSize ()
setExitAction ($action)
setExitFunction ($function)
setMaxLength ($length)
setSize ($width, [$height = NULL])
show ()
Variables
mixed $formName (line 28)
  • access: protected

Redefinition of:
TField::$formName
mixed $height (line 30)
  • access: protected
mixed $id (line 27)
  • access: protected

Redefinition of:
TField::$id
mixed $size (line 29)
  • access: protected

Redefinition of:
TField::$size

Inherited Variables

Inherited from TField

TField::$editable
TField::$label
TField::$name
TField::$properties
TField::$tag
TField::$value
TField::$valueCallback
Methods
Constructor __construct (line 36)

Class Constructor

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

Redefinition of:
TField::__construct()
Class Constructor
forceLowerCase (line 112)

Force lower case

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

Force upper case

  • access: public
forceUpperCase ()
getPostData (line 135)

Return the post data

  • access: public
getPostData ()

Redefinition of:
TField::getPostData()
Return the post data
getSize (line 67)

Returns the size

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

Redefinition of:
TField::getSize()
Returns the field size
setExitAction (line 88)

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

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

Set exit function

  • access: public
setExitFunction ($function)
  • $function
setMaxLength (line 76)

Define max length

  • access: public
setMaxLength ($length)
  • $length: Max length
setSize (line 54)

Define the widget's size

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

Redefinition of:
TField::setSize()
Define the Field's width
show (line 152)

Show the widget

  • access: public
show ()

Implementation of:
AdiantiWidgetInterface::show()

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