From 906b1fa6665c4d29aceff5f559bb3ee8a05ca317 Mon Sep 17 00:00:00 2001 From: amadeus Date: Mon, 18 Sep 2006 15:09:28 +0000 Subject: [PATCH] Added note about table naming, fixed some spelling and file naming errors as well --- ...asic Components - Connection - Available drivers.php} | 0 ...asic Components - Connection - Available drivers.php} | 0 ...sic Components - Exceptions - List of exceptions.php} | 0 ...Setting table definition - Table and class naming.php | 9 +++++++++ 4 files changed, 9 insertions(+) rename manual/codes/{Basic Components - Connection - Availible drivers.php => Basic Components - Connection - Available drivers.php} (100%) rename manual/docs/{Basic components - Connection - Availible drivers.php => Basic Components - Connection - Available drivers.php} (100%) rename manual/docs/{Basic components - Exceptions - List of exceptions.php => Basic Components - Exceptions - List of exceptions.php} (100%) create mode 100644 manual/docs/Getting started - Setting table definition - Table and class naming.php diff --git a/manual/codes/Basic Components - Connection - Availible drivers.php b/manual/codes/Basic Components - Connection - Available drivers.php similarity index 100% rename from manual/codes/Basic Components - Connection - Availible drivers.php rename to manual/codes/Basic Components - Connection - Available drivers.php diff --git a/manual/docs/Basic components - Connection - Availible drivers.php b/manual/docs/Basic Components - Connection - Available drivers.php similarity index 100% rename from manual/docs/Basic components - Connection - Availible drivers.php rename to manual/docs/Basic Components - Connection - Available drivers.php diff --git a/manual/docs/Basic components - Exceptions - List of exceptions.php b/manual/docs/Basic Components - Exceptions - List of exceptions.php similarity index 100% rename from manual/docs/Basic components - Exceptions - List of exceptions.php rename to manual/docs/Basic Components - Exceptions - List of exceptions.php diff --git a/manual/docs/Getting started - Setting table definition - Table and class naming.php b/manual/docs/Getting started - Setting table definition - Table and class naming.php new file mode 100644 index 000000000..aab05b40a --- /dev/null +++ b/manual/docs/Getting started - Setting table definition - Table and class naming.php @@ -0,0 +1,9 @@ +Doctrine automatically creates table names from the record class names. For this reason, it is recommended to name your record classes using the following rules: + +Example. My_PerfectClass +
+If you need to use a different naming schema, you can override this using the setTableName() method in the setTableDefinition() method.