ArrayAccess
Parse, interpret and compose HTTP (header) parameters.
array
$params# = NULL
array
$param_sep# = http\Params::DEF_PARAM_SEParray
$arg_sep# = http\Params::DEF_ARG_SEParray
$val_sep# = http\Params::DEF_VAL_SEPint
$flags# = http\Params::PARSE_DEFAULTInstantiate a new HTTP (header) parameter set.
void
http\Params::__construct([mixed
$params = NULL
[, mixed
$ps = http\Params::DEF_PARAM_SEP[, mixed
$as = http\Params::DEF_ARG_SEP[, mixed
$vs = http\Params::DEF_VAL_SEP[, int
$flags = http\Params::PARSE_DEFAULT]]]]])
String cast handler. Alias of http\Params::toString().
Implements ArrayAccess
.
bool
http\Params::offsetExists(string
$name)
Implements ArrayAccess
.
mixed
http\Params::offsetGet(string
$name)
Implements ArrayAccess
.
void
http\Params::offsetSet(string
$name, mixed
$value)
Implements ArrayAccess
.
void
http\Params::offsetUnset(string
$name)
Convenience method that simply returns http\Params::$params.
Returns a stringified version of the parameters.