From c5e065f817c39d95130f8a60ff31ad3b8fbfdcee Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sun, 28 Jan 2007 11:46:17 +0000 Subject: [PATCH] Clarify a bit getNameForObject correct usage. --- lib/xmldb/classes/generators/XMLDBGenerator.class.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/xmldb/classes/generators/XMLDBGenerator.class.php b/lib/xmldb/classes/generators/XMLDBGenerator.class.php index ca7800acff..646b32a083 100644 --- a/lib/xmldb/classes/generators/XMLDBGenerator.class.php +++ b/lib/xmldb/classes/generators/XMLDBGenerator.class.php @@ -882,8 +882,11 @@ class XMLDBgenerator { } /** - * Given three strings (table name, list of fields (comma separated) and suffix), create the proper object name - * quoting it if necessary + * Given three strings (table name, list of fields (comma separated) and suffix), + * create the proper object name quoting it if necessary. + * + * IMPORTANT: This function must be used to calculate names of objects to be created, + * never to guess names of existing objects! */ function getNameForObject($tablename, $fields, $suffix='') { -- 2.39.5