فهرست منبع

Documentation for sub model properties.

Romain Geissler 13 سال پیش
والد
کامیت
5f56536055
1فایلهای تغییر یافته به همراه5 افزوده شده و 2 حذف شده
  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,
 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