This repository has been archived by the owner on Jan 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
74 lines (53 loc) · 2.91 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
sfFormExtraPlugin
=================
The `sfFormExtraPlugin` packages useful validators, widgets, and forms.
This collection holds validators, widgets, and forms which we don't want to include with the main symfony package
because they are too specific or have external dependencies.
Installation
------------
* Install the plugin
$ symfony plugin:install sfFormExtraPlugin
* Clear the cache
$ symfony cache:clear
Documentation
-------------
All classes have full API and usage documentation. The best way to learn each widget or validator
is to read the API.
You will also find some articles on the symfony blog about this plugin:
* [Play with the user language](http://www.symfony-project.org/blog/2008/10/16/play-with-the-user-language)
* [Make your Choice!](http://www.symfony-project.org/blog/2008/10/14/new-in-symfony-1-2-make-your-choice)
* [Spice up your forms with some nice widgets and validators](http://www.symfony-project.org/blog/2008/10/18/spice-up-your-forms-with-some-nice-widgets-and-validators)
Forms
-----
* sfFormLanguage: A form to change the symfony user culture
Validators
----------
* sfValidatorDoctrineNestedSetLevel: Checks wether or not the max level of a nested set object (nestedSet behavior) is achieved
* sfValidatorReCaptcha: Validates a ReCaptcha (see sfWidgetFormReCaptcha)
* sfValidatorBlacklist: Validates that a value is not one of the configured forbidden ones
* sfValidatorSchemaTimeInterval: Validates a time interval between two dates provided by a widget schema
Widgets
-------
* sfWidgetFormReCaptcha: Displays a ReCaptcha widget (see sfValidatorReCaptcha)
* sfWidgetFormSelectDoubleList: Displays a double list widget
* sfWidgetFormJQueryDate: Displays a date using JQuery UI
* sfWidgetFormJQueryAutocompleter: Displays an input tag with autocomplete support using JQuery
* sfWidgetFormPropelChoiceGrouped: Displays a grouped set of choices tied to a Propel model
* sfWidgetFormPropelJQueryAutocompleter: Displays an autocomplete widget tied to a Propel model
* sfWidgetFormTextareaTinyMCE: A rich textarea rendered with TinyMCE
* sfWidgetFormSelectUSState: A select menu of US states
As no third party libraries is bundled in the plugin, you need to install and load the required
dependencies like JQuery, JQuery UI, or TinyMCE by yourself.
How to contribute.
------------------
If you want to contribute a validator, a widget, or a form, follow these steps:
* Check the prerequisites
* The license must be MIT
* You must have a unit test suite (100% coverage)
* You must have PHPdoc for all classes and methods with a documentation usage
* You must follow symfony coding standards
* The contribution must not be too specific
* You must be sure you will be able to maintain your contribution
* Create a ticket and attach a patch
* Choose `sfFormExtraPlugin` as the component
* Change the qualification to `Ready for core team`