sonata-project/SonataDoctrineORMAdminBundle — pull request #125 by michelsalib (2012-07-13 11:27:27+00:00)
Title: [WIP] Add class column

Hi !

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

Example:
``` php
add('_class', 'class', array(
'classes' => $this->getSubClasses(),
));
```

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

TODO: add doc.