IRI
class IRI
// Constructor: function Object() { [native code] } IRI parser/serialiser/normaliser
Methods 28 methods
| Method / Return | Description |
|---|---|
| __toString() string | Return the entire IRI when you try and read the object as a string |
| __set() void | Overload __set() to provide access via properties
Parameters: $name: mixed, $value: mixed |
| __get() mixed | Overload __get() to provide access via properties
Parameters: $name: mixed |
| __isset() bool | Overload __isset() to provide access via properties
Parameters: $name: mixed |
| __unset() void | Overload __unset() to provide access via properties
Parameters: $name: mixed |
| __construct() void | Create a new IRI object, from a specified string
Parameters: $iri: mixed |
| __destruct() void | Clean up |
| absolutize() (IRI | Create a new IRI object by resolving a relative IRI
Parameters: $base: mixed, $relative: mixed |
| parse_iri() array | Parse an IRI into scheme/authority/path/query/fragment segments
Parameters: $iri: mixed |
| remove_dot_segments() string | Remove dot segments from a path
Parameters: $input: mixed |
| replace_invalid_with_pct_encoding() string | Replace invalid character with percent encoding
Parameters: $string: mixed, $extra_chars: mixed, $iprivate: mixed |
| remove_iunreserved_percent_encoded() string | Callback function for preg_replace_callback.
Parameters: $match: mixed |
| scheme_normalization() void | No description available. |
| is_valid() bool | Check if the object represents a valid IRI. This needs to be done on each |
| set_iri() bool | Set the entire IRI. Returns true on success, false on failure (if there
Parameters: $iri: mixed, $clear_cache: mixed |
| set_scheme() bool | Set the scheme. Returns true on success, false on failure (if there are
Parameters: $scheme: mixed |
| set_authority() bool | Set the authority. Returns true on success, false on failure (if there are
Parameters: $authority: mixed, $clear_cache: mixed |
| set_userinfo() bool | Set the iuserinfo.
Parameters: $iuserinfo: mixed |
| set_host() bool | Set the ihost. Returns true on success, false on failure (if there are
Parameters: $ihost: mixed |
| set_port() bool | Set the port. Returns true on success, false on failure (if there are
Parameters: $port: mixed |
| set_path() bool | Set the ipath.
Parameters: $ipath: mixed, $clear_cache: mixed |
| set_query() bool | Set the iquery.
Parameters: $iquery: mixed |
| set_fragment() bool | Set the ifragment.
Parameters: $ifragment: mixed |
| to_uri() string | Convert an IRI to a URI (or parts thereof)
Parameters: $string: mixed |
| get_iri() string | Get the complete IRI |
| get_uri() string | Get the complete URI |
| get_iauthority() string | Get the complete iauthority |
| get_authority() string | Get the complete authority |
Properties
| Property / Type | Description |
|---|---|
| $scheme mixed public | No description available. |
| $iuserinfo mixed public | No description available. |
| $ihost mixed public | No description available. |
| $port mixed public | No description available. |
| $ipath mixed public | No description available. |
| $iquery mixed public | No description available. |
| $ifragment mixed public | No description available. |
| $normalization mixed public | No description available. |