symfony API

sfWidgetFormSchemaForEach Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.1 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.1 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, $attributes, $labels)
    Constructor.

Methods inherited from sfWidgetFormSchema

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

Methods inherited from sfWidgetForm

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

  • __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.