sfWidgetFormSchemaForEach duplicates a given widget multiple times in a
widget schema.
Method Summary
-
__construct($widget, $count, $options = array(), $attributes = array(), $labels = array())
Constructor.
addFormFormatter , generateName , getDefault , getDefaults , getFields , getFormFormatter , getFormFormatterName , getFormFormatters , getGlobalErrors , getHelp , getHelps , getJavaScripts , getLabel , getLabels , getNameFormat , getParent , getPositions , getStylesheets , moveField , needsMultipartForm , offsetExists , offsetGet , offsetSet , offsetUnset , render , renderField , setDefault , setDefaultFormFormatterName , setDefaults , setFormFormatterName , setHelp , setHelps , setLabel , setLabels , setNameFormat , setParent , setPositions , __clone , __construct
fixFormId , generateId , generateTwoCharsRange , getDefault , getIdFormat , getLabel , isHidden , needsMultipartForm , renderContentTag , renderTag , setDefault , setHidden , setIdFormat , setLabel , __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 = array(), $attributes = array(), $labels = array())
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.
|