(Created page with "{{smcfunc |function=entity_fix }} <noinclude> Category:General Utility Functions Category:2.0 Category:Customizing SMF Category:Developing SMF</noinclude>") |
(Removed from "Needs Work") |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{smcfunc | {{smcfunc | ||
|function=entity_fix | |function=entity_fix | ||
|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. These functions are important to the way SMF deals with user-input characters that are outside the forum's declared character set. | |||
}} | }} | ||
<noinclude> | <noinclude> | ||
[[Category:General Utility Functions]] | [[Category:General Utility Functions]] | ||
</noinclude> | |||
Latest revision as of 14:00, 2 August 2013
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. These functions are important to the way SMF deals with user-input characters that are outside the forum's declared character set.