m ([) |
(slight rewording of why entity_fix is important; usage note is left out for a reason. It should generally not be added to any code.) |
||
Line 2: | Line 2: | ||
|function=entity_fix | |function=entity_fix | ||
|internal=true | |internal=true | ||
|description=Only used by other string utility functions, such as [[htmlspecialchars]], [[htmltrim]], [[strpos]], [[substr]], and [[truncate]] to deal with numerical html entities found in the string. | |description=Only used by other string utility functions, such as [[htmlspecialchars]], [[htmltrim]], [[strpos]], [[substr]], and [[truncate]] to deal with numerical html entities found in the string. entity_fix is important to how these functions deal with user-input characters that are outside the forum's declared character set. | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
[[Category:General Utility Functions]] | [[Category:General Utility Functions]] | ||
{{needs work}}</noinclude> | {{needs work}}</noinclude> |
Revision as of 14:41, 11 October 2012
This function should never be used outside the database abstraction layer (Db-*.php or Subs-Db-*.php files) |
Description: Only used by other string utility functions, such as htmlspecialchars, htmltrim, strpos, substr, and truncate to deal with numerical html entities found in the string. entity_fix is important to how these functions deal with user-input characters that are outside the forum's declared character set.
This article needs some work for the following reason: (no reason given) This template may be removed when cleanup is complete. |