
Public Member Functions | |
| getKnownSubSchemes () | |
| isValid () | |
| fixAuthorityFromPath () | |
| If scheme is present but authority is empty, authority part is taken from fisrt non-empty segment, i.e: http:////anything/. | |
| fixMistakenPath () | |
| see: rfc3986, sec. | |
| toSmallString () | |
| normalize () | |
|
| |
Static Public Member Functions | |
| static | create () |
| |
Protected Attributes | |
| $knownSubSchemes | |
Definition at line 19 of file Url.class.php.
| static Url::create | ( | ) | [static] |
Reimplemented from GenericUri.
Reimplemented in HttpUrl.
Definition at line 36 of file Url.class.php.
Referenced by fixMistakenPath(), and GenericUri::getKnownSubSchemes().
| Url::getKnownSubSchemes | ( | ) |
| Url::isValid | ( | ) |
Reimplemented from GenericUri.
Definition at line 46 of file Url.class.php.
References GenericUri::getAuthority(), GenericUri::isAbsolute(), and GenericUri::isRelative().

| Url::fixAuthorityFromPath | ( | ) |
If scheme is present but authority is empty, authority part is taken from fisrt non-empty segment, i.e: http:////anything/.
.. becomes http://anything/...
Definition at line 61 of file Url.class.php.
References GenericUri::getAuthority(), GenericUri::setAuthority(), and GenericUri::setPath().
Referenced by HttpUrl::ensureAbsolute(), and fixMistakenPath().

| Url::fixMistakenPath | ( | ) |
see: rfc3986, sec.
4.2, paragraph 4; rfc 2396, sec 3.1
Definition at line 81 of file Url.class.php.
References create(), fixAuthorityFromPath(), GenericUri::getAuthority(), GenericUri::setPath(), and GenericUri::setScheme().
Referenced by HttpUrl::ensureAbsolute().

| Url::toSmallString | ( | ) |
Definition at line 109 of file Url.class.php.
References GenericUri::getAuthority().

| Url::normalize | ( | ) |
Reimplemented from GenericUri.
Reimplemented in HttpUrl.
Definition at line 129 of file Url.class.php.
References GenericUri::getPort(), and GenericUri::setPort().

Url::$knownSubSchemes [protected] |
1.5.4