symfony API

sfWidgetFormSchemaDecorator 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.

sfWidgetFormSchemaDecorator wraps a form schema widget inside a given HTML snippet.

Inheritence

sfWidgetFormSchemaDecorator  <  sfWidgetFormSchema < sfWidgetForm < sfWidget

Method Summary

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

  • addFormFormatter () Browse code

    @see sfWidgetFormSchema

  • generateLabel () Browse code

    @see sfWidgetFormSchemaFormatter

  • generateLabelName () Browse code

    @see sfWidgetFormSchemaFormatter

  • generateName () Browse code

    @see sfWidgetFormSchema

  • getFields () Browse code

    @see sfWidgetFormSchema

  • getFormFormatter () Browse code

    @see sfWidgetFormSchema

  • getFormFormatterName () Browse code

    @see sfWidgetFormSchema

  • getFormFormatters () Browse code

    @see sfWidgetFormSchema

  • getHelp () Browse code

    @see sfWidgetFormSchema

  • getHelps () Browse code

    @see sfWidgetFormSchema

  • getLabel () Browse code

    @see sfWidgetFormSchema

  • getLabels () Browse code

    @see sfWidgetFormSchema

  • getNameFormat () Browse code

    @see sfWidgetFormSchema

  • getParent () Browse code

    @see sfWidgetFormSchema

  • getPositions () Browse code

    @see sfWidgetFormSchema

  • getWidget () Browse code

    Returns the decorated widget.

  • moveField () Browse code

    @see sfWidgetFormSchema

  • needsMultipartForm () Browse code

    @see sfWidgetFormSchema

  • offsetExists () Browse code

    @see sfWidgetFormSchema

  • offsetGet () Browse code

    @see sfWidgetFormSchema

  • offsetSet () Browse code

    @see sfWidgetFormSchema

  • offsetUnset () Browse code

    @see sfWidgetFormSchema

  • render ($value, $attributes, $errors) Browse code

    $value 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

    @param string $name The element name

  • renderField () Browse code

    @see sfWidgetFormSchema

  • setFormFormatterName () Browse code

    @see sfWidgetFormSchema

  • setHelp () Browse code

    @see sfWidgetFormSchema

  • setHelps () Browse code

    @see sfWidgetFormSchema

  • setLabel () Browse code

    @see sfWidgetFormSchema

  • setLabels () Browse code

    @see sfWidgetFormSchema

  • setNameFormat () Browse code

    @see sfWidgetFormSchema

  • setParent () Browse code

    @see sfWidgetFormSchema

  • setPositions () Browse code

    @see sfWidgetFormSchema

  • __clone () Browse code

  • __construct ($widget, $decorator) Browse code

    $widget A sfWidgetFormSchema instance
    $decorator A decorator string

    Constructor.