浏览代码

Added info about different manager_type values to be set depending on storage

jedrzej 10 年之前
父节点
当前提交
f4b43ee087
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Resources/doc/reference/getting_started.rst

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

@@ -159,6 +159,8 @@ Create either a new ``admin.xml`` or ``admin.yml`` file inside the ``Acme/DemoBu
                calls:
                    - [ setTranslationDomain, [AcmeDemoBundle]]
 
+Example above assumes that you're using SonataDoctrineORMAdminBundle. If you're using SonataDoctrineMongoDBAdminBundle, SonataPropelAdminBundle or SonataDoctrinePhpcrAdminBundle instead, set ``manager_type`` option to ``doctrine_mongodb``, ``propel`` or ``doctrine_phpcr`` respectively.
+
 The basic configuration of an Admin service is quite simple. It creates a service
 instance based on the class you specified before, and accepts three arguments: