Development

/plugins/sfDoctrineDynamicFormRelationsPlugin/branches/1.3/README

You must first sign up to be able to contribute.

root/plugins/sfDoctrineDynamicFormRelationsPlugin/branches/1.3/README

Revision 28337, 0.6 kB (checked in by Kris.Wallsmith, 3 years ago)

[sfDoctrineDynamicFormRelationsPlugin] Initial import

Line 
1 This plugin allows you to embed related forms in a Doctrine form class,
2 manipulate those embedded forms (i.e. add more, remove some, etc), and see
3 those relations updated when the form is processed.
4
5     [php]
6     class AuthorForm extends BaseAuthorForm
7     {
8       public function configure()
9       {
10         $this->embedDynamicRelation('Books as books');
11       }
12     }
13
14 Limitations
15 -----------
16
17  * The primary key of the related model must by "id"
18  * The embedded form class must include an "id" field
19
20 Roadmap
21 -------
22
23  * Detect the related model's primary key
Note: See TracBrowser for help on using the browser.