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 THtmlEditor

Description

Implements interfaces:

Html Editor

Located in /widget/form/THtmlEditor.php (line 20)

TField
   |
   --THtmlEditor
Variable Summary
mixed $completion
mixed $formName
mixed $id
mixed $options
mixed $size
mixed $toolbar
Method Summary
static clearField ($form_name, $field)
static disableField ($form_name, $field)
static enableField ($form_name, $field)
static reloadCompletion ($field, $options)
__construct ($name)
getSize ()
setCompletion ($options)
setMaxLength ($length)
setOption ($option, $value)
setSize ($width, [$height = NULL])
show ()
Variables
mixed $completion (line 26)
  • access: protected
mixed $formName (line 24)
  • access: protected

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

Redefinition of:
TField::$id
mixed $options (line 27)
  • access: protected
mixed $size (line 23)
  • access: protected

Redefinition of:
TField::$size
mixed $toolbar (line 25)
  • access: protected

Inherited Variables

Inherited from TField

TField::$editable
TField::$label
TField::$name
TField::$properties
TField::$tag
TField::$value
TField::$valueCallback
Methods
static clearField (line 132)

Clear the field

  • access: public
static clearField ($form_name, $field)
  • $form_name: Form name
  • $field: Field name

Redefinition of:
TField::clearField()
Clear the field
static disableField (line 122)

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

Enable the field

  • access: public
static enableField ($form_name, $field)
  • $form_name: Form name
  • $field: Field name

Redefinition of:
TField::enableField()
Enable the field
static reloadCompletion (line 143)

Reload completion

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

Class Constructor

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

Redefinition of:
TField::__construct()
Class Constructor
disableToolbar (line 93)

Disable toolbar

  • access: public
disableToolbar ()
getSize (line 85)

Returns the size

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

Redefinition of:
TField::getSize()
Returns the field size
setCompletion (line 102)

Define options for completion

setCompletion ($options)
  • $options: array of options for completion
setMaxLength (line 50)

Define max length

  • access: public
setMaxLength ($length)
  • $length: Max length
setOption (line 62)

Set extra calendar options

setOption ($option, $value)
  • $option
  • $value
setSize (line 72)

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