From 2eab525077ac52f97169865499dbe9d54a2a7247 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Sat, 18 Dec 2010 17:14:20 +0100 Subject: [PATCH] Fix some small problems in the docs. --- en/reference/introduction.rst | 2 +- en/reference/tools.rst | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/en/reference/introduction.rst b/en/reference/introduction.rst index 73343a7e8..fd19d0407 100644 --- a/en/reference/introduction.rst +++ b/en/reference/introduction.rst @@ -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: -:doc:`Getting Started XML Edition <../tutorials/getting-started-xml-edition>` +:doc:`Getting Started Tutorial <../tutorials/getting-started-xml-edition>` diff --git a/en/reference/tools.rst b/en/reference/tools.rst index 5a8e8719d..5448e4a4c 100644 --- a/en/reference/tools.rst +++ b/en/reference/tools.rst @@ -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(); Now you can get an exporter instance and export the loaded metadata