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 TFieldList

Description

Create a field list

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

TElement
   |
   --TTable
      |
      --TFieldList
Method Summary
static addRows ($name, $rows, 2)
static clear ($name)
static clearRows ($name, [$start = 0], [$length = 0])
addDetail ($item)
addField ($label, $field, [$properties = null])
setCloneFunction ($action)
setRemoveFunction ($action)
setSortAction ($action)
show ()
Variables

Inherited Variables

Inherited from TElement

TElement::$children
Methods
static addRows (line 307)

Clear some field list rows

  • access: public
static addRows ($name, $rows, 2)
  • 2: field list name
  • $name: field list name
  • $rows: field list name
static clear (line 285)

Clear field list

  • access: public
static clear ($name)
  • $name: field list name
static clearRows (line 296)

Clear some field list rows

  • access: public
static clearRows ($name, [$start = 0], [$length = 0])
  • $name: field list name
  • $start: field list name
  • $length: field list name
Constructor __construct (line 39)

Class Constructor

  • access: public
__construct ()

Redefinition of:
TTable::__construct()
Class Constructor
addCloneAction (line 248)

Add clone action

  • access: public
addCloneAction ()
addDetail (line 177)

Add detail row

  • access: public
addDetail ($item)
  • $item: Data object
addField (line 100)

Add a field

  • access: public
addField ($label, $field, [$properties = null])
  • $label: Field Label
  • $field: Field Object
  • $properties
addHeader (line 135)

Add table header

  • access: public
addHeader ()
enableSorting (line 57)

Enable sorting

  • access: public
enableSorting ()
setCloneFunction (line 90)

Set the clone javascript action

  • access: public
setCloneFunction ($action)
  • $action
setRemoveFunction (line 82)

Set the remove javascript action

  • access: public
setRemoveFunction ($action)
  • $action
setSortAction (line 66)

Define the action to be executed when the user sort rows

  • access: public
setSortAction ($action)
  • $action: TAction object
show (line 315)

Show component

  • access: public
show ()

Redefinition of:
TElement::show()
Shows the tag

Inherited Methods

Inherited From TTable

TTable::__construct()
TTable::addRow()
TTable::addRowSet()
TTable::addSection()
TTable::fromData()

Inherited From TElement

TElement::__construct()
TElement::add()
TElement::clearChildren()
TElement::close()
TElement::del()
TElement::get()
TElement::getChildren()
TElement::getContents()
TElement::getIsWrapped()
TElement::getName()
TElement::getProperties()
TElement::getProperty()
TElement::insert()
TElement::open()
TElement::setIsWrapped()
TElement::setName()
TElement::setProperty()
TElement::setUseLineBreaks()
TElement::setUseSingleQuotes()
TElement::show()
TElement::tag()
TElement::__clone()
TElement::__get()
TElement::__isset()
TElement::__set()
TElement::__toString()
TElement::__unset()