symfony API

sfWidgetFormSchemaDecorator Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

Packages

You are currently browsing the symfony API for the 1.4 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 , 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

Methods inherited from sfWidgetForm

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

  • addFormFormatter ()

    @see sfWidgetFormSchema

  • generateLabel ()

    @see sfWidgetFormSchemaFormatter

  • generateLabelName ()

    @see sfWidgetFormSchemaFormatter

  • generateName ()

    @see sfWidgetFormSchema

  • getFields ()

    @see sfWidgetFormSchema

  • getFormFormatter ()

    @see sfWidgetFormSchema

  • getFormFormatterName ()

    @see sfWidgetFormSchema

  • getFormFormatters ()

    @see sfWidgetFormSchema

  • getHelp ()

    @see sfWidgetFormSchema

  • getHelps ()

    @see sfWidgetFormSchema

  • (array) getJavaScripts ()

    Gets the JavaScript paths associated with the widget.

    returns An array of JavaScript paths

  • getLabel ()

    @see sfWidgetFormSchema

  • getLabels ()

    @see sfWidgetFormSchema

  • getNameFormat ()

    @see sfWidgetFormSchema

  • getParent ()

    @see sfWidgetFormSchema

  • getPositions ()

    @see sfWidgetFormSchema

  • (array) getStylesheets ()

    Gets the stylesheet paths associated with the widget.

    returns An array of stylesheet paths

  • getWidget ()

    Returns the decorated widget.

  • moveField ()

    @see sfWidgetFormSchema

  • needsMultipartForm ()

    @see sfWidgetFormSchema

  • offsetExists ()

    @see sfWidgetFormSchema

  • offsetGet ()

    @see sfWidgetFormSchema

  • offsetSet ()

    @see sfWidgetFormSchema

  • offsetUnset ()

    @see sfWidgetFormSchema

  • render ($name, $values, $attributes, $errors)

    $name The element name
    $values 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

    Renders the widget.

  • renderField ()

    @see sfWidgetFormSchema

  • setFormFormatterName ()

    @see sfWidgetFormSchema

  • setHelp ()

    @see sfWidgetFormSchema

  • setHelps ()

    @see sfWidgetFormSchema

  • setLabel ()

    @see sfWidgetFormSchema

  • setLabels ()

    @see sfWidgetFormSchema

  • setNameFormat ()

    @see sfWidgetFormSchema

  • setParent ()

    @see sfWidgetFormSchema

  • setPositions ()

    @see sfWidgetFormSchema

  • __clone ()

  • __construct ($widget, $decorator)

    $widget A sfWidgetFormSchema instance
    $decorator A decorator string

    Constructor.