Edit
↰
Home
↑
http
↑
QueryString
↻
QueryString::getString
↲
QueryString::__construct
↲
QueryString::__toString
↲
QueryString::get
↲
QueryString::getArray
↲
QueryString::getBool
↲
QueryString::getFloat
↲
QueryString::getGlobalInstance
↲
QueryString::getInt
↲
QueryString::getIterator
↲
QueryString::getObject
↲
QueryString::mod
↲
QueryString::offsetExists
↲
QueryString::offsetGet
↲
QueryString::offsetSet
↲
QueryString::offsetUnset
↲
QueryString::serialize
↲
QueryString::set
↲
QueryString::toArray
↲
QueryString::toString
↲
QueryString::unserialize
↲
QueryString::xlate
#
string
http\QueryString::getString
(
string
$name
[,
mixed
$defval
=
NULL
[,
bool
$delete
=
false
)
Retrieve a
string
value with at offset
$name
.
Params:
#
string
$name
#
The key to look up.
Optional
mixed
$defval
#
=
NULL
The default value to return if the offset
$name
does not exist.
Optional
bool
$delete
#
=
false
Whether to remove the key and value from the querystring after retrieval.
Returns:
#
string
, the (casted) value.
mixed
,
$defval
if offset
$name
does not exist.
Show Comments from Github Discussions