Öffentliche Methoden | |
__toString () | |
__set ($name, $value) | |
__get ($name) | |
__isset ($name) | |
__unset ($name) | |
__construct ($iri=null) | |
is_valid () | |
set_iri ($iri) | |
set_scheme ($scheme) | |
set_authority ($authority) | |
set_userinfo ($iuserinfo) | |
set_host ($ihost) | |
set_port ($port) | |
set_path ($ipath) | |
set_query ($iquery) | |
set_fragment ($ifragment) | |
to_uri ($string) | |
get_iri () | |
get_uri () | |
Öffentliche, statische Methoden | |
static | absolutize ($base, $relative) |
Geschützte Methoden | |
parse_iri ($iri) | |
remove_dot_segments ($input) | |
replace_invalid_with_pct_encoding ($string, $extra_chars, $iprivate=false) | |
remove_iunreserved_percent_encoded ($match) | |
scheme_normalization () | |
get_iauthority () | |
get_authority () | |
Geschützte Attribute | |
$scheme = null | |
$iuserinfo = null | |
$ihost = null | |
$port = null | |
$ipath = '' | |
$iquery = null | |
$ifragment = null | |
$normalization | |
__construct | ( | $iri = null ) |
__get | ( | $name) |
__isset | ( | $name) |
__set | ( | $name, | |
$value | |||
) |
__toString | ( | ) |
__unset | ( | $name) |
|
static |
Create a new IRI object by resolving a relative IRI
Returns false if $base is not absolute, otherwise an IRI.
IRI | string | $base | (Absolute) Base IRI |
IRI | string | $relative | Relative IRI |
Definiert in Zeile 271 der Datei IRI.php.
Wird benutzt von SimplePie_Misc\absolutize_url().
|
protected |
Get the complete authority
Definiert in Zeile 1230 der Datei IRI.php.
Benutzt get_iauthority() und to_uri().
|
protected |
get_iri | ( | ) |
Get the complete IRI
Definiert in Zeile 1149 der Datei IRI.php.
Benutzt $ifragment, $ipath, $iquery, $scheme, get_iauthority() und is_valid().
Wird benutzt von __toString() und get_uri().
get_uri | ( | ) |
is_valid | ( | ) |
|
protected |
|
protected |
Remove dot segments from a path
string | $input |
Definiert in Zeile 404 der Datei IRI.php.
Wird benutzt von set_path().
|
protected |
|
protected |
Replace invalid character with percent encoding
string | $string | Input string |
string | $extra_chars | Valid characters not in iunreserved or iprivate (this is ASCII-only) |
bool | $iprivate | Allow iprivate |
Definiert in Zeile 467 der Datei IRI.php.
Wird benutzt von set_fragment(), set_host(), set_path(), set_query() und set_userinfo().
|
protected |
Definiert in Zeile 735 der Datei IRI.php.
Wird benutzt von set_fragment(), set_host(), set_path(), set_port(), set_query() und set_userinfo().
set_authority | ( | $authority) |
Set the authority. Returns true on success, false on failure (if there are any invalid characters).
string | $authority |
Definiert in Zeile 882 der Datei IRI.php.
Benutzt $iuserinfo, $port, set_host(), set_port() und set_userinfo().
Wird benutzt von set_iri().
set_fragment | ( | $ifragment) |
Set the ifragment.
string | $ifragment |
Definiert in Zeile 1105 der Datei IRI.php.
Benutzt $ifragment, replace_invalid_with_pct_encoding() und scheme_normalization().
Wird benutzt von set_iri().
set_host | ( | $ihost) |
Set the ihost. Returns true on success, false on failure (if there are any invalid characters).
string | $ihost |
Definiert in Zeile 970 der Datei IRI.php.
Benutzt $ihost, SimplePie_Net_IPv6\check_ipv6(), SimplePie_Net_IPv6\compress(), replace_invalid_with_pct_encoding() und scheme_normalization().
Wird benutzt von set_authority().
set_iri | ( | $iri) |
Set the entire IRI. Returns true on success, false on failure (if there are any invalid characters).
string | $iri |
Definiert in Zeile 800 der Datei IRI.php.
Benutzt parse_iri(), set_authority(), set_fragment(), set_path(), set_query() und set_scheme().
Wird benutzt von __construct().
set_path | ( | $ipath) |
Set the ipath.
string | $ipath |
Definiert in Zeile 1052 der Datei IRI.php.
Benutzt $ipath, remove_dot_segments(), replace_invalid_with_pct_encoding() und scheme_normalization().
Wird benutzt von set_iri().
set_port | ( | $port) |
Set the port. Returns true on success, false on failure (if there are any invalid characters).
string | $port |
Definiert in Zeile 1026 der Datei IRI.php.
Benutzt $port und scheme_normalization().
Wird benutzt von set_authority().
set_query | ( | $iquery) |
Set the iquery.
string | $iquery |
Definiert in Zeile 1085 der Datei IRI.php.
Benutzt $iquery, replace_invalid_with_pct_encoding() und scheme_normalization().
Wird benutzt von set_iri().
set_scheme | ( | $scheme) |
set_userinfo | ( | $iuserinfo) |
Set the iuserinfo.
string | $iuserinfo |
Definiert in Zeile 948 der Datei IRI.php.
Benutzt $iuserinfo, replace_invalid_with_pct_encoding() und scheme_normalization().
Wird benutzt von set_authority().
to_uri | ( | $string) |
Convert an IRI to a URI (or parts thereof)
Definiert in Zeile 1124 der Datei IRI.php.
Wird benutzt von get_authority() und get_uri().
|
protected |
Definiert in Zeile 105 der Datei IRI.php.
Wird benutzt von get_iri() und set_fragment().
|
protected |
Definiert in Zeile 77 der Datei IRI.php.
Wird benutzt von get_iauthority() und set_host().
|
protected |
Definiert in Zeile 91 der Datei IRI.php.
Wird benutzt von get_iri() und set_path().
|
protected |
Definiert in Zeile 98 der Datei IRI.php.
Wird benutzt von get_iri() und set_query().
|
protected |
Definiert in Zeile 70 der Datei IRI.php.
Wird benutzt von set_authority() und set_userinfo().
|
protected |
Normalization database
Each key is the scheme, each value is an array with each key as the IRI part and value as the default value for that part.
|
protected |
Definiert in Zeile 84 der Datei IRI.php.
Wird benutzt von get_iauthority(), set_authority() und set_port().
|
protected |
Definiert in Zeile 63 der Datei IRI.php.
Wird benutzt von __get(), get_iri() und set_scheme().