[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/htmlpurifier/library/HTMLPurifier/ -> EntityParser.php (summary)

(no description)

File Size: 144 lines (5 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HTMLPurifier_EntityParser:: (4 methods):
  substituteNonSpecialEntities()
  nonSpecialEntityCallback()
  substituteSpecialEntities()
  specialEntityCallback()


Class: HTMLPurifier_EntityParser  - X-Ref

Handles referencing and derefencing character entities

substituteNonSpecialEntities($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.

returns: Parsed string.
param: $string String to have non-special entities parsed.

nonSpecialEntityCallback($matches)   X-Ref
Callback function for substituteNonSpecialEntities() that does the work.

returns: Replacement string.
param: $matches  PCRE matches array, with 0 the entire match, and

substituteSpecialEntities($string)   X-Ref
Substitutes only special entities with their parsed equivalents.

returns: Parsed string.
param: $string String to have non-special entities parsed.

specialEntityCallback($matches)   X-Ref
Callback function for substituteSpecialEntities() that does the work.

This callback has same syntax as nonSpecialEntityCallback().

returns: Replacement string.
param: $matches  PCRE-style matches array, with 0 the entire match, and



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1