HTMLPurifier 4.4.0
|
Class that handles operations involving percent-encoding in URIs. More...
Public Member Functions | |
__construct ($preserve=false) | |
String of characters that should be preserved while using encode(). | |
encode ($string) | |
Our replacement for urlencode, it encodes all non-reserved characters, as well as any extra characters that were instructed to be preserved. | |
normalize ($string) | |
Fix up percent-encoding by decoding unreserved characters and normalizing. | |
__construct ($preserve=false) | |
String of characters that should be preserved while using encode(). | |
encode ($string) | |
Our replacement for urlencode, it encodes all non-reserved characters, as well as any extra characters that were instructed to be preserved. | |
normalize ($string) | |
Fix up percent-encoding by decoding unreserved characters and normalizing. | |
Protected Attributes | |
$preserve = array() | |
Reserved characters to preserve when using encode(). |
Class that handles operations involving percent-encoding in URIs.
Definition at line 11 of file PercentEncoder.php.
HTMLPurifier_PercentEncoder::__construct | ( | $ | preserve = false | ) |
String of characters that should be preserved while using encode().
Definition at line 22 of file PercentEncoder.php.
References $preserve.
HTMLPurifier_PercentEncoder::__construct | ( | $ | preserve = false | ) |
String of characters that should be preserved while using encode().
Definition at line 6542 of file HTMLPurifier.standalone.php.
References $preserve.
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 to be encoded |
Definition at line 50 of file PercentEncoder.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 to be encoded |
Definition at line 6570 of file HTMLPurifier.standalone.php.
HTMLPurifier_PercentEncoder::normalize | ( | $ | string | ) |
Fix up percent-encoding by decoding unreserved characters and normalizing.
$string | String to normalize |
Definition at line 6589 of file HTMLPurifier.standalone.php.
HTMLPurifier_PercentEncoder::normalize | ( | $ | string | ) |
Fix up percent-encoding by decoding unreserved characters and normalizing.
$string | String to normalize |
Definition at line 69 of file PercentEncoder.php.
HTMLPurifier_PercentEncoder::$preserve = array() [protected] |
Reserved characters to preserve when using encode().
Definition at line 17 of file PercentEncoder.php.
Referenced by __construct().