[ class tree: ] [ index: ] [ all elements ]

Index of all elements

[ 6 ] [ b ] [ e ] [ g ] [ i ] [ n ] [ o ] [ p ] [ r ] [ s ] [ u ] [ _ ]

6

6470.php
procedural page 6470.php
top

b

buildQuery
in file URL2.php, method Net_URL2::buildQuery()
    A simple version of http_build_query in userland. The encoded string is percentage encoded according to RFC 3986.
top

e

example.php
procedural page example.php
top

g

getAuthority
in file URL2.php, method Net_URL2::getAuthority()
    Returns the authority part, i.e. [ userinfo "@" ] host [ ":" port ], or false if there is no authority.
getCanonical
in file URL2.php, method Net_URL2::getCanonical()
    Returns a Net_URL2 instance representing the canonical URL of the currently executing PHP script.
getFragment
in file URL2.php, method Net_URL2::getFragment()
    Returns the fragment name, or false if "#" is not present in the URL.
getHost
in file URL2.php, method Net_URL2::getHost()
    Returns the host part, or false if there is no authority part, e.g.
getNormalizedURL
in file URL2.php, method Net_URL2::getNormalizedURL()
    Returns a normalized string representation of this URL. This is useful for comparison of URLs.
getOption
in file URL2.php, method Net_URL2::getOption()
    Returns the value of the specified option.
getPassword
in file URL2.php, method Net_URL2::getPassword()
    Returns the password part of the userinfo part (the part after the first ":"), or false if there is no userinfo part (i.e. the URL does not contain "@" in front of the hostname) or the userinfo part does not contain ":".
getPath
in file URL2.php, method Net_URL2::getPath()
    Returns the path part (possibly an empty string).
getPort
in file URL2.php, method Net_URL2::getPort()
    Returns the port number, or false if there is no port number specified, i.e. if the default port is to be used.
getQuery
in file URL2.php, method Net_URL2::getQuery()
    Returns the query string (excluding the leading "?"), or false if "?" is not present in the URL.
getQueryVariables
in file URL2.php, method Net_URL2::getQueryVariables()
    Returns the query string like an array as the variables would appear in $_GET in a PHP script. If the URL does not contain a "?", an empty array is returned.
getRequested
in file URL2.php, method Net_URL2::getRequested()
    Returns a Net_URL2 instance representing the URL used to retrieve the current request.
getRequestedURL
in file URL2.php, method Net_URL2::getRequestedURL()
    Returns the URL used to retrieve the current request.
getScheme
in file URL2.php, method Net_URL2::getScheme()
    Returns the scheme, e.g. "http" or "urn", or false if there is no scheme specified, i.e. if this is a relative URL.
getURL
in file URL2.php, method Net_URL2::getURL()
    Returns a string representation of this URL.
getUser
in file URL2.php, method Net_URL2::getUser()
    Returns the user part of the userinfo part (the part preceding the first ":"), or false if there is no userinfo part.
getUserinfo
in file URL2.php, method Net_URL2::getUserinfo()
    Returns the userinfo part, or false if there is none, i.e. if the authority part does not contain "@".
top

i

isAbsolute
in file URL2.php, method Net_URL2::isAbsolute()
    Returns whether this instance represents an absolute URL.
top

n

Net_URL2
in file URL2.php, class Net_URL2
    Represents a URL as per RFC 3986.
normalize
in file URL2.php, method Net_URL2::normalize()
    Normalizes the URL
top

o

OPTION_DROP_SEQUENCE
in file URL2.php, class constant Net_URL2::OPTION_DROP_SEQUENCE
    Drop zero-based integer sequences in query using PHP's [] notation. Default is true.
OPTION_ENCODE_KEYS
in file URL2.php, class constant Net_URL2::OPTION_ENCODE_KEYS
    URL-encode query variable keys. Default is true.
OPTION_SEPARATOR_INPUT
in file URL2.php, class constant Net_URL2::OPTION_SEPARATOR_INPUT
    Query variable separators when parsing the query string. Every character is considered a separator. Default is "&".
OPTION_SEPARATOR_OUTPUT
in file URL2.php, class constant Net_URL2::OPTION_SEPARATOR_OUTPUT
    Query variable separator used when generating the query string. Default is "&".
OPTION_STRICT
in file URL2.php, class constant Net_URL2::OPTION_STRICT
    Do strict parsing in resolve() (see RFC 3986, section 5.2.2). Default is true.
OPTION_USE_BRACKETS
in file URL2.php, class constant Net_URL2::OPTION_USE_BRACKETS
    Represent arrays in query using PHP's [] notation. Default is true.
top

p

parseUrl
in file URL2.php, method Net_URL2::parseUrl()
    This method uses a regex to parse the url into the designated parts.
top

r

removeDotSegments
in file URL2.php, method Net_URL2::removeDotSegments()
    Removes dots as described in RFC 3986, section 5.2.4, e.g.
resolve
in file URL2.php, method Net_URL2::resolve()
    Returns an Net_URL2 instance representing an absolute URL relative to this URL.
top

s

setAuthority
in file URL2.php, method Net_URL2::setAuthority()
    Sets the authority part, i.e. [ userinfo "@" ] host [ ":" port ]. Specify false if there is no authority.
setFragment
in file URL2.php, method Net_URL2::setFragment()
    Sets the fragment name. Specify false if "#" is not present in the URL.
setHost
in file URL2.php, method Net_URL2::setHost()
    Sets the host part. Specify false if there is no authority part, e.g.
setPath
in file URL2.php, method Net_URL2::setPath()
    Sets the path part (possibly an empty string).
setPort
in file URL2.php, method Net_URL2::setPort()
    Sets the port number. Specify false if there is no port number specified, i.e. if the default port is to be used.
setQuery
in file URL2.php, method Net_URL2::setQuery()
    Sets the query string (excluding the leading "?"). Specify false if "?" is not present in the URL.
setQueryVariable
in file URL2.php, method Net_URL2::setQueryVariable()
    Sets the specified variable in the query string.
setQueryVariables
in file URL2.php, method Net_URL2::setQueryVariables()
    Sets the query string to the specified variable in the query string.
setScheme
in file URL2.php, method Net_URL2::setScheme()
    Sets the scheme, e.g. "http" or "urn". Specify false if there is no scheme specified, i.e. if this is a relative URL.
setUserinfo
in file URL2.php, method Net_URL2::setUserinfo()
    Sets the userinfo part. If two arguments are passed, they are combined in the userinfo part as username ":" password.
top

u

URL2.php
procedural page URL2.php
unsetQueryVariable
in file URL2.php, method Net_URL2::unsetQueryVariable()
    Removes the specified variable from the query string.
urlencode
in file URL2.php, method Net_URL2::urlencode()
    Percent-encodes all non-alphanumeric characters except these: _ . - ~ Similar to PHP's rawurlencode(), except that it also encodes ~ in PHP 5.2.x and earlier.
top

_

__construct
in file URL2.php, method Net_URL2::__construct()
    Constructor.
__get
in file URL2.php, method Net_URL2::__get()
    Magic Getter.
__set
in file URL2.php, method Net_URL2::__set()
    Magic Setter.
__toString
in file URL2.php, method Net_URL2::__toString()
    Returns a string representation of this URL.
top

Documentation generated on Mon, 11 Mar 2019 16:01:49 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.