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 TTime

Description

Implements interfaces:

TimePicker Widget

Located in /widget/form/TTime.php (line 22)

TField
   |
   --TEntry
      |
      --TTime
Variable Summary
mixed $id
mixed $options
mixed $size
mixed $value
Method Summary
static disableField ($form_name, $field)
static enableField ($form_name, $field)
__construct ($name)
setChangeAction ($action)
setChangeFunction ($function)
setExitAction ($action)
setMask ($mask, [$replaceOnPost = FALSE])
setOption ($option, $value)
show ()
Variables
mixed $changeAction (line 31)
  • access: protected
mixed $changeFunction (line 30)
  • access: protected
mixed $id (line 25)
  • access: protected

Redefinition of:
TEntry::$id
mixed $options (line 28)
  • access: protected
mixed $replaceOnPost (line 29)
  • access: protected

Redefinition of:
TEntry::$replaceOnPost
mixed $size (line 26)
  • access: protected

Redefinition of:
TField::$size
mixed $value (line 27)
  • access: protected

Redefinition of:
TEntry::$value

Inherited Variables

Inherited from TEntry

TEntry::$allowNegative
TEntry::$completion
TEntry::$decimals
TEntry::$decimalsSeparator
TEntry::$delimiter
TEntry::$exitAction
TEntry::$exitFunction
TEntry::$exitOnEnterOn
TEntry::$formName
TEntry::$innerIcon
TEntry::$minLength
TEntry::$name
TEntry::$numericMask
TEntry::$reverse
TEntry::$thousandSeparator

Inherited from TField

TField::$editable
TField::$label
TField::$properties
TField::$tag
TField::$valueCallback
Methods
static disableField (line 132)

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

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

Class Constructor

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

Redefinition of:
TEntry::__construct()
Class Constructor
setChangeAction (line 96)

Define the action to be executed when the user changes the field

  • access: public
setChangeAction ($action)
  • $action: TAction object
setChangeFunction (line 112)

Set change function

  • access: public
setChangeFunction ($function)
  • $function
setExitAction (line 87)

Define the action to be executed when the user changes the field

  • access: public
setExitAction ($action)
  • $action: TAction object

Redefinition of:
TEntry::setExitAction()
Define the action to be executed when the user leaves the form field
setMask (line 61)

Define the field's mask

  • access: public
setMask ($mask, [$replaceOnPost = FALSE])
  • $mask: Mask for the field (dd-mm-yyyy)
  • $replaceOnPost

Redefinition of:
TEntry::setMask()
Define the field's mask
setOption (line 78)

Set extra datepicker options

setOption ($option, $value)
  • $option
  • $value
show (line 140)

Shows the widget at the screen

  • access: public
show ()

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

Implementation of:
AdiantiWidgetInterface::show()

Inherited Methods

Inherited From TEntry

TEntry::__construct()
TEntry::changeMask()
TEntry::exitOnEnter()
TEntry::forceLowerCase()
TEntry::forceUpperCase()
TEntry::formatMask()
TEntry::getPostData()
TEntry::reloadCompletion()
TEntry::setCompletion()
TEntry::setDelimiter()
TEntry::setExitAction()
TEntry::setExitFunction()
TEntry::setInnerIcon()
TEntry::setInputType()
TEntry::setMask()
TEntry::setMaxLength()
TEntry::setMinLength()
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::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()