Clarify a bit getNameForObject correct usage.

This commit is contained in:
stronk7 2007-01-28 11:46:17 +00:00
parent 5a08ca80ed
commit c5e065f817

View File

@ -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='') {