sfWidgetFormSchemaDecorator wraps a form schema widget inside a given HTML snippet.
Method Summary
addFormFormatter , generateName , getDefault , getDefaults , getFields , getFormFormatter , getFormFormatterName , getFormFormatters , getGlobalErrors , getHelp , getHelps , getJavaScripts , getLabel , getLabels , getNameFormat , getPositions , getStylesheets , moveField , needsMultipartForm , offsetExists , offsetGet , offsetSet , offsetUnset , render , renderField , setDefault , setDefaultFormFormatterName , setDefaults , setFormFormatterName , setHelp , setHelps , setLabel , setLabels , setNameFormat , setPositions , __clone , __construct
fixFormId , generateId , generateTwoCharsRange , getDefault , getIdFormat , getLabel , getParent , isHidden , needsMultipartForm , renderContentTag , renderTag , setDefault , setHidden , setIdFormat , setLabel , setParent , translate , translateAll , __construct
Methods inherited from sfWidget
addOption , addRequiredOption , attributesToHtml , attributesToHtmlCallback , configure , escapeOnce , fixDoubleEscape , getAttribute , getAttributes , getCharset , getJavaScripts , getOption , getOptions , getRequiredOptions , getStylesheets , 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
-
(array) getJavaScripts ()
Browse code
Gets the JavaScript paths associated with the widget.
returns An array of JavaScript paths
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
(array) getStylesheets ()
Browse code
Gets the stylesheet paths associated with the widget.
returns An array of stylesheet paths
-
Returns the decorated widget.
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
@see sfWidgetFormSchema
-
render ($name, $values, $attributes, $errors)
Browse code
| $name |
The element name |
| $values |
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 |
Renders the widget.
-
@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.
|