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 TPassword

Description

Implements interfaces:

Password Widget

Located in /widget/form/TPassword.php (line 25)

TField
   |
   --TPassword
Variable Summary
mixed $formName
mixed $id
mixed $innerIcon
Method Summary
__construct ($name)
enableToggleVisibility ([$toggleVisibility = TRUE])
setExitAction ($action)
setExitFunction ($function)
setInnerIcon ($image, [$side = 'right'])
setMaxLength ($length)
show ()
Variables
mixed $formName (line 29)
  • access: protected

Redefinition of:
TField::$formName
mixed $id (line 31)
  • access: protected

Redefinition of:
TField::$id
mixed $innerIcon (line 30)
  • access: protected

Inherited Variables

Inherited from TField

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

Class Constructor

  • access: public
__construct ($name)
  • $name: Name of the widget

Redefinition of:
TField::__construct()
Class Constructor
enableToggleVisibility (line 45)
  • access: public
enableToggleVisibility ([$toggleVisibility = TRUE])
  • $toggleVisibility
setExitAction (line 54)

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

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

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

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

Define the Inner icon

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

Define max length

  • access: public
setMaxLength ($length)
  • $length: Max length
show (line 105)

Show the widget at the screen

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