sonata-project/SonataDoctrineORMAdminBundle — pull request #124 by michelsalib (2012-07-13 10:18:01+00:00)
Title: [WIP] Add class filter

Hi !

After submitting sonata-project/SonataAdminBundle#815 in order to support inherited classes, I come with this PR that add a class filter in to the filters.

Example:
``` php
add('type', 'doctrine_orm_class', array(
'sub_classes' => $this->getSubClasses(),
));
```

This is a working draft, I am still waiting for feedback ;)

TODO: add doc.