public function filterRequest($variableName) {
        if(!is_string($variableName)) {
            throw new \Exception('Variable name expected as string');
        }
        
        if(!isset($_REQUEST[$variableName])) {
            return null;
        }
        
        return $this->filter($_REQUEST[$variableName]);
    }
public function filterRequest($variableName) {
        if(!is_string($variableName)) {
            throw new \Exception('Variable name expected as string');
        }
        
        if(!isset($_REQUEST[$variableName])) {
            return null;
        }
        
        return $this->filter($_REQUEST[$variableName]);
    }
public function filterRequest ( $ variableName ) { if ( ! is_string ( $ variableName ) ) { throw new \ Exception ( 'Variable name expected as string' ) ; } if ( ! isset ( $ _REQUEST [ $ variableName ] ) ) { return null ; } return $ this -> filter ( $ _REQUEST [ $ variableName ] ) ; }
Sanitizes a REQUEST-variable

Experimental.

Returns null, if the variable does not exist

@param string $variableName
@return mixed
Sanitizes a REQUEST - variable