Skip to content
Browse files

updated README

  • Loading branch information...
1 parent d8eb71e commit 476dcc226c13471a10be5ef48c2f67a9398bbfab @themouette themouette committed Nov 24, 2011
Showing with 14 additions and 0 deletions.
  1. +14 −0 README.md
View
14 README.md
@@ -186,6 +186,20 @@ class ArticleForm extends BaseArticleForm
The Propel widgets, validators, and form classes are fully documented in the [`doc/form.md`](https://raw.github.com/propelorm/sfPropelORMPlugin/master/doc/form.md) file in this plugin source code.
+## Filter Subframework modification
+
+You now can merge or embed filters into filters, it works out of the box.
+
+``` php
+class ArticleFilter extends BaseArticleFilter
+{
+ public function configure()
+ {
+ $this->mergeForm(new AuthorFilter());
+ }
+}
+```
+
## Routing Modifications
The plugin offer two new routing classes, `sfPropelORMRoute` and `sfPropelORMRouteCollection`. These classes are used by default in the models build with the propel admin generator. They behave just like the previous `sfPropelRoute` class - except they don't use the `methods` option anymore. Instead, use the `query_methods` option to execute a list of arbitrary query methods when calling `getObject()` and `getObjects()`.

0 comments on commit 476dcc2

Please sign in to comment.
Something went wrong with that request. Please try again.