symfony API

sfWidgetFormSchemaForEach Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.2 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.2 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfWidgetFormSchemaForEach duplicates a given widget multiple times in a widget schema.

Inheritence

sfWidgetFormSchemaForEach  <  sfWidgetFormSchema < sfWidgetForm < sfWidget

Method Summary

  • __construct($widget, $count, $options = array(), $attributes = array(), $labels = array())
    Constructor.

Methods inherited from sfWidgetFormSchema

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

Methods inherited from sfWidgetForm

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.