1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Fix some small problems in the docs.

This commit is contained in:
Benjamin Eberlei 2010-12-18 17:14:20 +01:00
parent 6a0f3f2d7b
commit 2eab525077
2 changed files with 3 additions and 2 deletions

View File

@ -394,6 +394,6 @@ Can you **find** the easier way?).
Instead of reading through the reference manual we also recommend to look at the tutorials: Instead of reading through the reference manual we also recommend to look at the tutorials:
:doc:`Getting Started XML Edition <../tutorials/getting-started-xml-edition>` :doc:`Getting Started Tutorial <../tutorials/getting-started-xml-edition>`

View File

@ -347,7 +347,8 @@ First you need to retrieve the metadata instances with the
) )
); );
$cmf = new DisconnectedClassMetadataFactory($em); $cmf = new DisconnectedClassMetadataFactory();
$cmf->setEntityManager($em);
$metadata = $cmf->getAllMetadata(); $metadata = $cmf->getAllMetadata();
Now you can get an exporter instance and export the loaded metadata Now you can get an exporter instance and export the loaded metadata