|
Cheetah
|
Public Member Functions | |
| __construct ($preserve=false) | |
| encode ($string) | |
| normalize ($string) | |
Protected Attributes | |
| $preserve = array() | |
Class that handles operations involving percent-encoding in URIs.
Definition at line 8066 of file HTMLPurifier.standalone.php.
| HTMLPurifier_PercentEncoder::__construct | ( | $preserve = false | ) |
String of characters that should be preserved while using encode().
| bool | $preserve |
Definition at line 8079 of file HTMLPurifier.standalone.php.
| HTMLPurifier_PercentEncoder::encode | ( | $string | ) |
Our replacement for urlencode, it encodes all non-reserved characters, as well as any extra characters that were instructed to be preserved.
| string | $string | String to be encoded |
Definition at line 8114 of file HTMLPurifier.standalone.php.
| HTMLPurifier_PercentEncoder::normalize | ( | $string | ) |
Fix up percent-encoding by decoding unreserved characters and normalizing.
| string | $string | String to normalize |
Definition at line 8135 of file HTMLPurifier.standalone.php.
|
protected |
Reserved characters to preserve when using encode(). @type array
Definition at line 8073 of file HTMLPurifier.standalone.php.