public function queryParam($name = null, $default = null)
    {
        return $this->getData(
            $this->request->getQueryParams(),
            $name,
            $default
        );
    }
public function queryParam($name = null, $default = null)
    {
        return $this->getData(
            $this->request->getQueryParams(),
            $name,
            $default
        );
    }
public function queryParam ( $ name = null , $ default = null ) { return $ this -> getData ( $ this -> request -> getQueryParams ( ) , $ name , $ default ) ; }
Gets the URL query parameter with provided name

If its not submitted the default value will be returned.
If no arguments are passed the full URL query parameters from request will
be returned. In this case the default value is ignored.

@param null|string $name
@param mixed $default

@return array|string
Gets the URL query parameter with provided name