ZenMagick 0.9.10


zenmagick.store.admin.mvc.widgets\ZMEditorSelectFormWidget
mvc\widgets\ZMEditorSelectFormWidget.php at line 34

Class ZMEditorSelectFormWidget

ZMObject
└─ZMWidget
└─ZMFormWidget
└─ZMSelectFormWidget
└─ZMEditorSelectFormWidget

public class ZMEditorSelectFormWidget
extends ZMSelectFormWidget

A editor select form widget.

This widget will append a list of all available editors to the options list. That means the generic options propert may be used to set custom options that will show up at the top of the list.

Author:
DerManoMann

Method Summary
void

__construct()

Create new instance.

static array

getEditorMap()

Get a list of all available editors.

array

getOptions(ZMRequest request)

{@inheritDoc}

Methods inherited from org.zenmagick.mvc.widgets.form\ZMSelectFormWidget
__construct, addOption, getOptions, getStringValue, isMultiValue, render, renderRadio, renderSelect, setMultiple, setOptions, setValue
Methods inherited from org.zenmagick.mvc.widgets.form\ZMFormWidget
__construct, compare, getAttributeNames, getAttributeString, getName, getStringValue, getValue, isEncode, isMultiValue, setAttributeNames, setEncode, setName, setValue
Methods inherited from org.zenmagick.mvc.widgets\ZMWidget
__construct, getDescription, getTitle, isEnabled, render, setDescription, setEnabled, setTitle
Methods inherited from org.zenmagick.core\ZMObject
__construct, attachMethod, get, getAttachedMethods, getProperties, getPropertyNames, set, singleton

Method Detail

mvc\widgets\ZMEditorSelectFormWidget.php at line 39

__construct

public void __construct()

Create new instance.


mvc\widgets\ZMEditorSelectFormWidget.php at line 55

getEditorMap

public static array getEditorMap()

Get a list of all available editors.

Returns:
A class/name map of editors.

mvc\widgets\ZMEditorSelectFormWidget.php at line 69

getOptions

public array getOptions(ZMRequest request)

Get the options map.

Parameters:
request - The current request.
Returns:
Map of value/name pairs.

ZenMagick 0.9.10