symfony API

sfWidgetFormSchemaDecorator Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.4 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.4 version. Switch to:

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 () 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

  • (array) getJavaScripts () Browse code

    Gets the JavaScript paths associated with the widget.

    returns An array of JavaScript paths

  • 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

  • (array) getStylesheets () Browse code

    Gets the stylesheet paths associated with the widget.

    returns An array of stylesheet paths

  • 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 ($name, $values, $attributes, $errors) Browse code

    $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 () 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.