sfWidgetFormSchemaForEach duplicates a given widget multiple times in a widget schema.
Method Summary
-
__construct($widget, $count, $options, $attributes, $labels)
Constructor.
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
-
__construct ($widget, $count, $options, $attributes, $labels)
Browse code
| $widget |
An sfWidgetFormSchema instance |
| $count |
The number of times to duplicate the widget |
| $options |
An array of options |
| $attributes |
An array of default HTML attributes |
| $labels |
An array of HTML labels |
Constructor.
|