sfWidgetFormSchemaDecorator wraps a form schema widget inside a given HTML snippet.
Method Summary
addFormFormatter , generateName , getFields , getFormFormatter , getFormFormatterName , getFormFormatters , getGlobalErrors , getHelp , getHelps , getLabel , getLabels , getNameFormat , getParent , getPositions , moveField , needsMultipartForm , offsetExists , offsetGet , offsetSet , offsetUnset , render , renderField , setDefaultFormFormatterName , setFormFormatterName , setHelp , setHelps , setLabel , setLabels , setNameFormat , setParent , setPositions , __clone , __construct
fixFormId , generateId , generateTwoCharsRange , getIdFormat , isHidden , needsMultipartForm , renderContentTag , renderTag , setHidden , setIdFormat , __construct
Methods inherited from sfWidget
addOption , addRequiredOption , attributesToHtml , attributesToHtmlCallback , configure , escapeOnce , fixDoubleEscape , getAttribute , getAttributes , getCharset , getOption , getOptions , getRequiredOptions , hasOption , isXhtml , render , renderContentTag , renderTag , setAttribute , setAttributes , setCharset , setOption , setOptions , setXhtml , __construct
Method Details
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchemaFormatter
-
@see sfWidgetFormSchemaFormatter
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
getFormFormatterName ()
Browse code
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
Returns the decorated widget.
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
render ($value, $attributes, $errors)
Browse code
| $value |
The value displayed in this widget |
| $attributes |
An array of HTML attributes to be merged with the default HTML attributes |
| $errors |
An array of errors for the field |
@param string $name The element name
-
@see sfWidgetFormSchema
-
setFormFormatterName ()
Browse code
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
-
__construct ($widget, $decorator)
Browse code
| $widget |
A sfWidgetFormSchema instance |
| $decorator |
A decorator string |
Constructor.
|