public static function fetchArgs(array $reqArgs, array $optionalArgs)
    {
        $values = self::fetchReqArgs($reqArgs);
        $values = array_merge($values, self::fetchOptionalArgs($optionalArgs));
        return $values;
    }
public static function fetchArgs(array $reqArgs, array $optionalArgs)
    {
        $values = self::fetchReqArgs($reqArgs);
        $values = array_merge($values, self::fetchOptionalArgs($optionalArgs));
        return $values;
    }
public static function fetchArgs ( array $ reqArgs , array $ optionalArgs ) { $ values = self :: fetchReqArgs ( $ reqArgs ) ; $ values = array_merge ( $ values , self :: fetchOptionalArgs ( $ optionalArgs ) ) ; return $ values ; }
Retrieves the specified arguments from REQUEST. This will throw an
exception if a required argument is not present, but not if an optional
argument is not.

@param array reqArgs - required arguments that must exist
@param array optionalArgs - arguments that should be retrieved if exist

@return values - map of argument name/value pairs retrieved.
Retrieves the specified arguments from REQUEST . This will throw an exception if a required argument is not present but not if an optional argument is not .