Class XDOViewWidgetMultiValueSelect

Description

Implements interfaces:

Complex widget for editing a unlimited number of values

Usable for editing arrays. Uses a enumeration to provide a dropdown selection of values.

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 values will be displayed.

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

FormWidget
   |
   --FormWidgetEnum
      |
      --XDOViewWidgetMultiValueSelect
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 111)

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 FormWidgetEnum

FormWidgetEnum::__construct()
FormWidgetEnum::getEnum()
FormWidgetEnum::getValue()

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