This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component/Form
Bernhard Schussek 49d1464b43 [Form] Implemented MergeCollectionListener which calls addXxx() and removeXxx() in your model if found
The listener is used by the Collection type as well as the Choice and Entity type (with multiple
selection). The effect is that you can have for example this model:

    class Article
    {
        public function addTag($tag) { ... }
        public function removeTag($tag) { ... }
        public function getTags($tag) { ... }
    }

You can create a form for the article with a field "tags" of either type "collection" or "choice"
(or "entity"). The field will correctly use the three methods of the model for displaying and
editing tags.
2012-02-02 11:16:21 +01:00
..
Extension [Form] Implemented MergeCollectionListener which calls addXxx() and removeXxx() in your model if found 2012-02-02 11:16:21 +01:00
Fixtures [Form] Reverted PR #1758. 2011-07-22 16:42:50 +02:00
Guess fixed CS 2011-06-08 19:56:59 +02:00
Util [Form] Implemented MergeCollectionListener which calls addXxx() and removeXxx() in your model if found 2012-02-02 11:16:21 +01:00
AbstractDivLayoutTest.php [Form] reverted partially previous commit 2011-09-24 16:42:12 +02:00
AbstractExtensionTest.php merged 2.0 2011-10-29 12:01:39 +02:00
AbstractLayoutTest.php merged branch helmer/readonly (PR #3193) 2012-02-02 10:03:00 +01:00
AbstractTableLayoutTest.php Rebased with master, and fixed wrong behavior with proper tests coverage 2011-09-24 10:44:47 +02:00
FormBuilderTest.php [Form] added support for parent of FormBuilder 2012-02-02 10:09:50 +01:00
FormFactoryTest.php merged branch hason/formbuilder (PR #3249) 2012-02-02 10:13:41 +01:00
FormInterface.php fixed CS 2011-06-08 19:56:59 +02:00
FormTest.php merged branch helmer/readonly (PR #3193) 2012-02-02 10:03:00 +01:00
PropertyPathTest.php [Tests] Use proper phpunit assertion functions: "assertTrue", "assertFalse", "assertNull" 2011-08-25 15:41:15 +02:00