symfony API

sfFormSymfony 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:

Extends the form component with symfony-specific functionality.

Inheritence

sfFormSymfony  <  sfForm

Method Summary

  • doBind()
    Notifies the 'form.filter_values' and 'form.validation_error' events.
  • sfEventDispatcher getEventDispatcher()
    Returns the event dispatcher.
  • setEventDispatcher($dispatcher)
    Sets the event dispatcher to be used by all forms.
  • mixed __call($method, $arguments)
    Calls methods defined via sfEventDispatcher.
  • __construct()
    Constructor.

Methods inherited from sfForm

addCSRFProtection , bind , configure , convertFileInformation , count , current , deepArrayUnion , disableCSRFProtection , disableLocalCSRFProtection , doBind , embedForm , embedFormForEach , enableCSRFProtection , enableLocalCSRFProtection , fixPhpFilesArray , getCSRFFieldName , getCSRFToken , getDefault , getDefaults , getEmbeddedForm , getEmbeddedForms , getErrorSchema , getFormFieldSchema , getGlobalErrors , getJavaScripts , getName , getOption , getOptions , getStylesheets , getTaintedValues , getToStringException , getValidator , getValidatorSchema , getValue , getValues , getWidget , getWidgetSchema , hasDefault , hasErrors , hasGlobalErrors , hasToStringException , isBound , isCSRFProtected , isMultipart , isValid , key , mergeForm , mergePostValidator , mergePreValidator , next , offsetExists , offsetGet , offsetSet , offsetUnset , render , renderFormTag , renderGlobalErrors , renderHiddenFields , renderUsing , resetFormFields , rewind , setCSRFFieldName , setDefault , setDefaults , setOption , setToStringException , setup , setValidator , setValidators , setValidatorSchema , setWidget , setWidgets , setWidgetSchema , useFields , valid , __clone , __construct , __toString

Method Details

  • doBind () Browse code

    Notifies the 'form.filter_values' and 'form.validation_error' events.

  • (sfEventDispatcher) getEventDispatcher () Browse code

    Returns the event dispatcher.

  • setEventDispatcher ($dispatcher) Browse code

    Sets the event dispatcher to be used by all forms.

  • (mixed) __call ($method, $arguments) Browse code

    $method The method name
    $arguments The method arguments

    Calls methods defined via sfEventDispatcher.

    returns The returned value of the called method

  • __construct () Browse code

    Constructor.


    Notifies the 'form.post_configure' event.