Öffentliche Methoden | |
__construct ($preserve=false) | |
encode ($string) | |
normalize ($string) | |
Geschützte Attribute | |
$preserve = array() | |
Class that handles operations involving percent-encoding in URIs.
Definiert in Zeile 11 der Datei PercentEncoder.php.
__construct | ( | $preserve = false ) |
String of characters that should be preserved while using encode().
bool | $preserve |
Definiert in Zeile 24 der Datei PercentEncoder.php.
Benutzt $preserve.
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 |
Definiert in Zeile 59 der Datei PercentEncoder.php.
normalize | ( | $string) |
Fix up percent-encoding by decoding unreserved characters and normalizing.
string | $string | String to normalize |
Definiert in Zeile 80 der Datei PercentEncoder.php.
|
protected |
Reserved characters to preserve when using encode(). array
Definiert in Zeile 18 der Datei PercentEncoder.php.
Wird benutzt von __construct().