N°4099 - Fix object lists being very slow for classes with a overloaded GetName() function

This commit is contained in:
Eric
2021-06-25 17:13:14 +02:00
parent 60b015919d
commit de71d490c1
7 changed files with 81 additions and 21 deletions

View File

@@ -1517,7 +1517,7 @@ abstract class DBObject implements iDisplay
/**
* Helper to get the friendly name in a safe manner for displaying inside a web page
*
* @api
* @internal since 3.0 will be set final in 3.1
*
* @return string
* @throws \CoreException
@@ -1528,14 +1528,14 @@ abstract class DBObject implements iDisplay
}
/**
* Helper to get the friendly name
*
* This is not safe for displaying inside a web page since the " < > characters are not escaped.
* In example, the name may contain some XSS script instructions.
* Helper to get the friendly name
*
* This is not safe for displaying inside a web page since the " < > characters are not escaped.
* In example, the name may contain some XSS script instructions.
* Use this function only for internal computations or for an output to a non-HTML destination
*
* @api
*
* @internal since 3.0 will be set final in 3.1
*
* @return string
* @throws \CoreException
*/