The RequestHandler class is intended to easily access the REQUEST content. Therefore, the component uses the $_REQUEST array.
The application of the static class looks as follows:
// get a single request value $value = RequestHandler::getValue('foo','bar'); // define a param array with default values $params = array('foo' => 'bar','baz'); $values = RequestHandler::getValues($params); // get several values
The $value variable does contain the value of the request param foo. If the param is not contained in the URL, the value is bar. The array $values contains the value of the param foo within one offset, the offset baz includes the corresponding request value. In case the foo param is not found in the request, the default value is set to bar. If the baz param is not found, null is returned in that offset. Further details can be taken from the API documentation.
In order to use the component, it must be included using