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 TColor

Description

Implements interfaces:

Color Widget

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

TField
   |
   --TEntry
      |
      --TColor
Class Constant Summary
 THEME_CLASSIC = 'classic'
 THEME_MONOLITH = 'monolith'
 THEME_NANO = 'nano'
Variable Summary
mixed $formName
mixed $id
mixed $name
mixed $options
mixed $size
mixed $theme
Method Summary
static disableField ($form_name, $field)
static enableField ($form_name, $field)
__construct ($name)
getOption ($option)
setChangeAction ($action)
setChangeFunction ($function)
setOption ($option, $value)
setTheme ($theme)
show ()
Variables
mixed $changeAction (line 33)
  • access: protected
mixed $changeFunction (line 32)
  • access: protected
mixed $formName (line 28)
  • access: protected

Redefinition of:
TEntry::$formName
mixed $id (line 30)
  • access: protected

Redefinition of:
TEntry::$id
mixed $name (line 29)
  • access: protected

Redefinition of:
TEntry::$name
mixed $options (line 35)
  • access: protected
mixed $size (line 31)
  • access: protected

Redefinition of:
TField::$size
mixed $theme (line 34)
  • access: protected

Inherited Variables

Inherited from TEntry

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

Inherited from TField

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

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

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

Class Constructor

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

Redefinition of:
TEntry::__construct()
Class Constructor
getOption (line 106)

Get option TColor

  • access: public
getOption ($option)
  • $option
getOptions (line 97)

Get options TColor

  • access: public
getOptions ()
setChangeAction (line 161)

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

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

Set change function

  • access: public
setChangeFunction ($function)
  • $function
setOption (line 82)

Set extra option TColor

  • see: options
  • access: public
setOption ($option, $value)
  • $option: Key name option
  • $value: Option value
setTheme (line 119)

Set theme

  • access: public
setTheme ($theme)
  • $theme
show (line 169)

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()
Class Constants
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /tmp/phpdoc/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php on line 262 Strict Standards: Only variables should be passed by reference in /tmp/phpdoc/phpDocumentor/Smarty-2.6.0/libs/Smarty_Compiler.class.php on line 712
THEME_CLASSIC = 'classic' (line 24)
THEME_MONOLITH = 'monolith' (line 26)
THEME_NANO = 'nano' (line 25)