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 TMultiEntry

Description

Implements interfaces:

Multi Entry Widget

Located in /widget/form/TMultiEntry.php (line 24)

TField
   |
   --TSelect
      |
      --TMultiEntry
Variable Summary
mixed $editable
mixed $height
mixed $id
mixed $items
mixed $maxSize
mixed $size
Method Summary
static clearField ($form_name, $field)
static disableField ($form_name, $field)
static enableField ($form_name, $field)
__construct ($name)
renderItems ([$with_titles = true])
setMaxSize ($maxsize)
setSize ($width, [$height = NULL])
show ()
Variables
mixed $changeAction (line 32)
  • access: protected

Redefinition of:
TSelect::$changeAction
mixed $changeFunction (line 33)
  • access: protected

Redefinition of:
TSelect::$changeFunction
mixed $editable (line 31)
  • access: protected

Redefinition of:
TField::$editable
mixed $height (line 29)
  • access: protected

Redefinition of:
TSelect::$height
mixed $id (line 26)
  • access: protected

Redefinition of:
TSelect::$id
mixed $items (line 27)
  • access: protected

Redefinition of:
TSelect::$items
mixed $maxSize (line 30)
  • access: protected
mixed $size (line 28)
  • access: protected

Redefinition of:
TField::$size

Inherited Variables

Inherited from TSelect

TSelect::$defaultOption
TSelect::$formName
TSelect::$separator
TSelect::$value

Inherited from TField

TField::$label
TField::$name
TField::$tag
Methods
static clearField (line 99)

Clear the field

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

Redefinition of:
TSelect::clearField()
Clear the field
static disableField (line 89)

Disable the field

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

Redefinition of:
TSelect::disableField()
Disable the field
static enableField (line 79)

Enable the field

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

Redefinition of:
TSelect::enableField()
Enable the field
Constructor __construct (line 39)

Class Constructor

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

Redefinition of:
TSelect::__construct()
Class Constructor
renderItems (line 107)

Render items

  • access: protected
renderItems ([$with_titles = true])
  • $with_titles

Redefinition of:
TSelect::renderItems()
Render items
setMaxSize (line 69)

Define the maximum number of items that can be selected

  • access: public
setMaxSize ($maxsize)
  • $maxsize
setSize (line 57)

Define the widget's size

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

Redefinition of:
TSelect::setSize()
Define the Field's width
show (line 135)

Shows the widget

  • access: public
show ()

Redefinition of:
TSelect::show()
Shows the widget

Implementation of:
AdiantiWidgetInterface::show()

Inherited Methods

Inherited From TSelect

TSelect::__construct()
TSelect::addItems()
TSelect::clearField()
TSelect::disableField()
TSelect::disableMultiple()
TSelect::enableField()
TSelect::getItems()
TSelect::getPostData()
TSelect::getSize()
TSelect::reload()
TSelect::renderItems()
TSelect::setChangeAction()
TSelect::setChangeFunction()
TSelect::setDefaultOption()
TSelect::setSize()
TSelect::setValue()
TSelect::setValueSeparator()
TSelect::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::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::validate()
TField::__call()
TField::__clone()
TField::__get()
TField::__set()