[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 153 lines (5 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
HTMLPurifier_EntityParser:: (4 methods):
substituteNonSpecialEntities()
nonSpecialEntityCallback()
substituteSpecialEntities()
specialEntityCallback()
Class: HTMLPurifier_EntityParser - X-Ref
Handles referencing and derefencing character entitiessubstituteNonSpecialEntities($string) X-Ref |
Substitutes non-special entities with their parsed equivalents. Since running this whenever you have parsed character is t3h 5uck, we run it before everything else. param: string $string String to have non-special entities parsed. return: string Parsed string. |
nonSpecialEntityCallback($matches) X-Ref |
Callback function for substituteNonSpecialEntities() that does the work. param: array $matches PCRE matches array, with 0 the entire match, and return: string Replacement string. |
substituteSpecialEntities($string) X-Ref |
Substitutes only special entities with their parsed equivalents. param: string $string String to have non-special entities parsed. return: string Parsed string. |
specialEntityCallback($matches) X-Ref |
Callback function for substituteSpecialEntities() that does the work. This callback has same syntax as nonSpecialEntityCallback(). param: array $matches PCRE-style matches array, with 0 the entire match, and return: string Replacement string. |
Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |