]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/request/class_HttpRequest.php
Username filter begun with basic checks
[shipsimu.git] / inc / classes / main / request / class_HttpRequest.php
index 6826d76b71dbdeea91a4774103c4c03e65341252..133f08af01be22137aa36049f467040b695bf785 100644 (file)
@@ -145,6 +145,15 @@ class HttpRequest extends BaseFrameworkSystem implements Requestable {
                // Return the value
                return $headerValue;
        }
+
+       /**
+        * Getter for request method. This getter might be useful for security filters
+        *
+        * @return      $requestMethod  Used request method
+        */
+       public final function getRequestMethod () {
+               return $_SERVER['REQUEST_METHOD'];
+       }
 }
 
 // [EOF]