ZMObject
└─ZMWidget
└─ZMFormWidget
└─ZMSelectFormWidget
public class ZMSelectFormWidget
extends ZMFormWidget
| Constructor Summary | |
|---|---|
Create new instance. |
|
| Method Summary | |
|---|---|
| array | Get the options map. |
| string | {@inheritDoc} |
| boolean | {@inheritDoc} |
| string | {@inheritDoc} |
| void | setMultiple(boolean multiple) Set the multiple flag. |
| void | setOptions(mixed options) Set the options map. |
| void | setValue(mixed value) {@inheritDoc} |
| Methods inherited from org.zenmagick.mvc.widgets.form.ZMFormWidget | |
|---|---|
| compare, getAttributeNames, getAttributeString, getName, getStringValue, getValue, isMultiValue, setAttributeNames, setName, setValue | |
| Methods inherited from org.zenmagick.mvc.widgets.ZMWidget | |
|---|---|
| getDescription, getTitle, isEnabled, render, setDescription, setEnabled, setTitle | |
| Methods inherited from org.zenmagick.core.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMSelectFormWidget()
Create new instance.
public array getOptions()
Get the options map.
public string getStringValue()
public boolean isMultiValue()
true if multiple values are supported.public string render(ZMRequest request)
public void setMultiple(boolean multiple)
Set the multiple flag.
public void setOptions(mixed options)
Set the options map.
public void setValue(mixed value)
A select form widget.