1..163 # __construct - creates an empty validator schema - creates an empty widget form schema - can take an array of default values as its first argument - takes a CSRF secret as its second argument - takes a CSRF secret as its second argument - can disable the CSRF protection by passing false as the second argument - uses CSRF protection if null is passed as the second argument and it's enabled globally # ->getOption() ->setOption() - __construct takes an option array as its second argument - changes the value of an option - returns all options # ->setDefault() ->getDefault() ->hasDefault() ->setDefaults() ->getDefaults() - sets the form default values - sets a default value - returns true if the form has a default value for the given field - returns false if the form does not have a default value for the given field - returns a default value for a given field - returns null if the form does not have a default value for a given field - keeps the CSRF token default value - does not set the CSRF token if CSRF is disabled # ->getName() - returns false if the name format is not an array - returns false if the name format is not an array - returns the name under which user data can be retrieved # ::enableCSRFProtection() ::disableCSRFProtection() - enabled CSRF protection for all future forms - disables CSRF protection for all future forms - enabled CSRF protection for all future forms - disables CSRF protection for all future forms - returns true if the form is CSRF protected - can take a secret argument # ->enableLocalCSRFProtection() ->disableLocalCSRFProtection() - disabled CSRF protection for the current form - disabled CSRF protection for the current form, even if the global CSRF protection is enabled - disabled CSRF protection for the current form, even a CSRF secret is provided in the constructor - enables CSRF protection when passed null and global CSRF is disabled - enables CSRF protection when passed a string global CSRF is disabled # ::getCSRFFieldName() ::setCSRFFieldName() - changes the CSRF token field name - returns the CSRF token field name # ->isMultipart() - returns false if the form does not need a multipart form - returns true if the form needs a multipart form # ->setValidators() ->setValidatorSchema() ->getValidatorSchema() ->setValidator() ->getValidator() - sets the current validator schema - sets field validators - sets field validators - sets a validator for a field # ->setWidgets() ->setWidgetSchema() ->getWidgetSchema() - sets the current widget schema - sets field widgets - sets field widgets - sets a widget for a field # ArrayAccess interface - implements the ArrayAccess interface - implements the ArrayAccess interface - ArrayAccess implementation does not permit to set a form field - implements the ArrayAccess interface - implements the ArrayAccess interface - ArrayAccess implementation removes form defaults - ArrayAccess implementation removes the widget and the validator - ArrayAccess implementation removes the widget and the validator - ArrayAccess implementation throws a LogicException if the form field does not exist - ArrayAccess implementation removes embedded forms - ArrayAccess implementation removes bound values - ArrayAccess implementation removes tainted values # Countable interface - implements the Countable interface # Iterator interface - implements the Iterator interface - implements the Iterator interface - implements the Iterator interface # ->useFields() - removes all fields except the ones given as an argument - reorders the fields - does not reorder the fields if the second argument is false - does not remove hidden fields # ->bind() ->isValid() ->getValues() ->isBound() ->getErrorSchema() - returns false if the form is not bound - returns an empty array if the form is not bound - returns false if the form is not bound - returns false if the form is not bound - returns null if the form is not bound - returns true if the form is bound - returns an array of cleaned values if the form is bound - returns true if the form passes the validation - returns false if the form passes the validation - returns the cleaned value for a field name if the form is bound - returns null when non-existant param is requested - returns false if the form does not pass the validation - returns true if the form does not pass the validation - returns an empty array if the form does not pass the validation - returns an error schema object with all errors # bind when field names are numeric - behaves correctly when field names are numeric # bind with files - behaves correctly with files - second argument is mandatory if the form is multipart # bind with files in embed form - behaves correctly with files in embed form # ->renderGlobalErrors() - renders global errors as an HTML list # ->render() - renders the form as HTML - renders the form as HTML - returns a sfFormField - returns a sfFormField - returns a sfFormField - renders the form as HTML - renders the form as HTML - returns a sfFormField - returns a sfFormField - returns a sfFormField # ->renderUsing() - renders the widget schema using the given form formatter - does not persist form formatter name for the current form instance - renders a custom form formatter - throws an exception if formatter name does not exist # ->renderHiddenFields() - renders all hidden fields, no visible fields - does not modify the form fields - renders hidden fields from embedded forms - does not render hidden fields from embedded forms if the first parameter is # ->embedForm() - embeds the validator schema - embeds the widget schema - merges default values from the embedded form - removes the CSRF token for the embedded form - removes the CSRF token for the embedded form - changes the name format to reflect the embedding - changes the name format to reflect the embedding - generates a correct id in embedded form fields - generates a correct label id correctly in embedded form fields # ->embedFormForEach() - embeds the validator schema - embeds the widget schema - merges default values from the embedded forms - removes the CSRF token for the embedded forms - removes the CSRF token for the embedded forms - embeds the validator schema - embeds the widget schema - merges default values from the embedded forms - removes the CSRF token for the embedded forms - removes the CSRF token for the embedded forms - changes the name format to reflect the embedding # bind too many values for embedded forms - is given an error schema when an extra embedded form is bound - renders when an extra embedded form is bound # ->getEmbeddedForms() - returns the embedded forms - returns the embedded forms - return an embedded form - throws an exception if the embedded form does not exist # ::convertFileInformation() - converts $_FILES to be coherent with $_GET and $_POST naming convention - converts $_FILES to be coherent with $_GET and $_POST naming convention - only changes the input array if needed - converts $_FILES to be coherent with $_GET and $_POST naming convention - converts $_FILES to be coherent with $_GET and $_POST naming convention # ->renderFormTag() - renders the form tag - adds a hidden input tag if the method is not GET or POST - adds the enctype attribute if the form is multipart # __clone() - clones the validator schema - clones the validator schema - clones the widget schema - clones the widget schema - clones the error schema - clones the error schema # mergeForm() - merges a widget form schema - merges a validator schema - merges the correct widgets - merges the correct validators - merges labels correctly - merges helps correctly - overrides original form widget - overrides original form validator - merges pre validator - merges post validator - disallows merging already bound forms - merges errors after having been bound - iterating on form takes in account operations. - merges fields in the correct order - merges numeric defaults - merges numeric labels - merges numeric helps # ->getJavaScripts() ->getStylesheets() - returns the stylesheets of all widgets - returns the JavaScripts of all widgets # ->getFormFieldSchema() - includes default numeric fields - includes bound numeric fields # Looks like everything went fine.