| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 1089 lines (35 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
IRI:: (28 methods):
__toString()
__set()
__get()
__isset()
__unset()
__construct()
__destruct()
absolutize()
parse_iri()
remove_dot_segments()
replace_invalid_with_pct_encoding()
remove_iunreserved_percent_encoded()
scheme_normalization()
is_valid()
set_iri()
set_scheme()
set_authority()
set_userinfo()
set_host()
set_port()
set_path()
set_query()
set_fragment()
to_uri()
get_iri()
get_uri()
get_iauthority()
get_authority()
| __toString() X-Ref |
| Return the entire IRI when you try and read the object as a string return: string |
| __set(string $name, $value) X-Ref |
| Overload __set() to provide access via properties param: string $name Property name param: mixed $value Property value return: void |
| __get(string $name) X-Ref |
| Overload __get() to provide access via properties param: string $name Property name return: mixed |
| __isset(string $name) X-Ref |
| Overload __isset() to provide access via properties param: string $name Property name return: bool |
| __unset(string $name) X-Ref |
| Overload __unset() to provide access via properties param: string $name Property name return: void |
| __construct(?string $iri = null) X-Ref |
| Create a new IRI object, from a specified string param: string|null $iri |
| __destruct() X-Ref |
| Clean up return: void |
| absolutize($base, $relative) X-Ref |
| Create a new IRI object by resolving a relative IRI Returns false if $base is not absolute, otherwise an IRI. param: IRI|string $base (Absolute) Base IRI param: IRI|string $relative Relative IRI return: IRI|false |
| parse_iri(string $iri) X-Ref |
| Parse an IRI into scheme/authority/path/query/fragment segments param: string $iri return: array{ |
| remove_dot_segments(string $input) X-Ref |
| Remove dot segments from a path param: string $input return: string |
| replace_invalid_with_pct_encoding(string $string, string $extra_chars, bool $iprivate = false) X-Ref |
| Replace invalid character with percent encoding param: string $string Input string param: string $extra_chars Valid characters not in iunreserved or param: bool $iprivate Allow iprivate return: string |
| remove_iunreserved_percent_encoded(array $match) X-Ref |
| Callback function for preg_replace_callback. Removes sequences of percent encoded bytes that represent UTF-8 encoded characters in iunreserved param: array{string} $match PCRE match, a capture group #0 consisting of a sequence of valid percent-encoded bytes return: string Replacement |
| scheme_normalization() X-Ref |
return: void |
| is_valid() X-Ref |
| Check if the object represents a valid IRI. This needs to be done on each call as some things change depending on another part of the IRI. return: bool |
| set_iri(?string $iri, bool $clear_cache = false) X-Ref |
| Set the entire IRI. Returns true on success, false on failure (if there are any invalid characters). param: string|null $iri return: bool |
| set_scheme(?string $scheme) X-Ref |
| Set the scheme. Returns true on success, false on failure (if there are any invalid characters). param: string|null $scheme return: bool |
| set_authority(?string $authority, bool $clear_cache = false) X-Ref |
| Set the authority. Returns true on success, false on failure (if there are any invalid characters). param: string|null $authority return: bool |
| set_userinfo(?string $iuserinfo) X-Ref |
| Set the iuserinfo. param: string|null $iuserinfo return: bool |
| set_host(?string $ihost) X-Ref |
| Set the ihost. Returns true on success, false on failure (if there are any invalid characters). param: string|null $ihost return: bool |
| set_port($port) X-Ref |
| Set the port. Returns true on success, false on failure (if there are any invalid characters). param: string|int|null $port return: bool |
| set_path(?string $ipath, bool $clear_cache = false) X-Ref |
| Set the ipath. param: string|null $ipath return: bool |
| set_query(?string $iquery) X-Ref |
| Set the iquery. param: string|null $iquery return: bool |
| set_fragment(?string $ifragment) X-Ref |
| Set the ifragment. param: string|null $ifragment return: bool |
| to_uri(string $string) X-Ref |
| Convert an IRI to a URI (or parts thereof) param: string $string return: string |
| get_iri() X-Ref |
| Get the complete IRI return: string|false |
| get_uri() X-Ref |
| Get the complete URI return: string |
| get_iauthority() X-Ref |
| Get the complete iauthority return: ?string |
| get_authority() X-Ref |
| Get the complete authority return: ?string |
| Generated : Thu Oct 30 08:20:06 2025 | Cross-referenced by PHPXref |