mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Clarify a bit getNameForObject correct usage.
This commit is contained in:
parent
5a08ca80ed
commit
c5e065f817
@ -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='') {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user