Class XDOViewWidgetMultiKeyVal

Description

Implements interfaces:

Complex widget for editing a unlimited number of key/value pairs

Usable for allowing freeform editing of XDOArrayVars.

This widget is javascript enhanced and you won't be able to delete values without js.

If the property is read-only a table containing the key/value pairs will be displayed.

Located in /phpsatk-lib/global/org.eenterphace.sat.xdo.view.widgets/xdo.view.widget.multikeyval.php (line 41)

FormWidget
   |
   --XDOViewWidgetMultiKeyVal
Method Summary
string render ()
void storeValue (RequestFilter $filter, XDODataObject $xdo)
Variables
Methods
render (line 50)

Renders the widget

Be warned _this_ code is really ugly.

  • access: public
string render ()

Redefinition of:
FormWidget::render()
This functions does the actual rendering of widgets
storeValue (line 110)

Processes the submission

  • access: public
  • todo: Add validation
void storeValue (RequestFilter $filter, XDODataObject $xdo)
  • RequestFilter $filter: Filter to gather data from
  • DataObject $xdo: XDO to set values to

Inherited Methods

Inherited From FormWidget

FormWidget::__construct()
FormWidget::getValue()
FormWidget::render()

Documentation generated on Mon, 21 May 2007 10:35:34 +0200 by phpDocumentor 1.3.0RC5