mixed
http\Env\Request::getQuery([string
$name = NULL
[, mixed
$type = NULL
[, mixed
$defval = NULL
[, bool
$delete = false
]]]])Retrieve an URL query value ($_GET).
See http\QueryString::get() and http\QueryString::TYPE_* constants.
string
$name# = NULL
mixed
$type# = NULL
mixed
$defval# = NULL
bool
$delete# = false
string
, the whole querystring if $name is of zero length.mixed
, $defval if the key $name does not exist.mixed
, the querystring value cast to $type if $type was specified and the key $name exists.string
, the querystring value if the key $name exists and $type is not specified or equals http\QueryString::TYPE_STRING.