src/Mvc/Util/RequestParser.php
private static function parseElement(Request &$req,
    		$serverVars, $elementName, $paramName)
    {
        if (isset($serverVars[$elementName])) {
        	$req->setParam( $paramName, $serverVars[$elementName] );
        }
    }
private static function parseElement(Request &$req,
    		$serverVars, $elementName, $paramName)
    {
        if (isset($serverVars[$elementName])) {
        	$req->setParam( $paramName, $serverVars[$elementName] );
        }
    }
private static function parseElement ( Request & $ req , $ serverVars , $ elementName , $ paramName ) { if ( isset ( $ serverVars [ $ elementName ] ) ) { $ req -> setParam ( $ paramName , $ serverVars [ $ elementName ] ) ; } }
Parse a single http header element into parameter for the request object

@param Request $req
The destination request object
@param array $serverVars
The server variables provided by sapi
@param string $elementName
The element to parse
@param string $paramName
The destination parameter name
Parse a single http header element into parameter for the request object