protected function getParameter($key, $type = Validate::TYPE_STRING, array $filter = array(), $title = null, $required = true)
    {
        $parameter = $this->request->getUri()->getParameter($key);

        if (isset($parameter)) {
            return $this->validate->apply($parameter, $type, $filter, $title, $required);
        } else {
            return null;
        }
    }
protected function getParameter($key, $type = Validate::TYPE_STRING, array $filter = array(), $title = null, $required = true)
    {
        $parameter = $this->request->getUri()->getParameter($key);

        if (isset($parameter)) {
            return $this->validate->apply($parameter, $type, $filter, $title, $required);
        } else {
            return null;
        }
    }
protected function getParameter ( $ key , $ type = Validate :: TYPE_STRING , array $ filter = array ( ) , $ title = null , $ required = true ) { $ parameter = $ this -> request -> getUri ( ) -> getParameter ( $ key ) ; if ( isset ( $ parameter ) ) { return $ this -> validate -> apply ( $ parameter , $ type , $ filter , $ title , $ required ) ; } else { return null ; } }
Returns a parameter from the query fragment of the request url

@param string $key
@param string $type
@param array $filter
@param string $title
@param boolean $required
@return mixed
@deprecated
Returns a parameter from the query fragment of the request url