\GingerUrl

Ginger URL

Summary

Methods
Properties
Constants
__construct()
getParameter()
$scheme
$host
$path
$query
$user
$pass
$queryParts
$fragment
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$scheme

$scheme : string

scheme

Used scheme (usually http or https)

Type

string

$host

$host : string

host

Host

Type

string

$path

$path : string

path

URL Path

Type

string

$query

$query : string

query

Raw query

Type

string

$user

$user : string

user

Type

string

$pass

$pass : string

pass

Type

string

$queryParts

$queryParts : array

queryParts

All queryparts based in key=value

Type

array

$fragment

$fragment : string

fragment

Type

string

Methods

__construct()

__construct(string $url)

Parse url into object

Parameters

string $url

URL String

getParameter()

getParameter(mixed $key) : void

getParameter function.

Parameters

mixed $key