Browse Source

Documentation for sub model properties.

Romain Geissler 13 years ago
parent
commit
5f56536055
1 changed files with 5 additions and 2 deletions
  1. 5 2
      Resources/doc/reference/getting_started.rst

+ 5 - 2
Resources/doc/reference/getting_started.rst

@@ -65,8 +65,11 @@ Step 3: Create Admin class
 
 
 Admin class represents mapping of your model and administration sections (forms,
 Admin class represents mapping of your model and administration sections (forms,
 list, show). The easiest way to create an admin class for your model is to extend
 list, show). The easiest way to create an admin class for your model is to extend
-the Sonata\AdminBundle\Admin\Admin class. Here is a simple example from the
-SonataNewsBundle:
+the Sonata\AdminBundle\Admin\Admin class. For filter, list and show views, you can
+target a sub model property thanks to the dot-separated notation
+(eg: ``mySubModel.mySubSubModel.myProperty``).
+
+Here is a simple example from the SonataNewsBundle:
 
 
 .. code-block:: php
 .. code-block:: php