+
+ // The isGet function determines if a request method is a GET.
+ function isGet() {
+ return ($this->getMethod() == 'GET');
+ }
+
+ // The isPost function determines if a request method is a POST.
+ function isPost() {
+ return ($this->getMethod() == 'POST');
+ }
+
+ // The getParameter is the primary function of this class. It returns request parameter