Had to rename more stuff.
[core.git] / inc / classes / main / request / web / class_HttpRequest.php
index 2688f5fb9fa0108634aa3efacf407d13e391ff5f..91527e84bdf1b762230fdfe864e0c98bd47b667d 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A concrete and secured HTTP request class to make HTTP requests more abstract
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  * @todo               Move out the cookie part to a seperate class, e.g. Cookie
  *
  * This program is free software: you can redistribute it and/or modify
@@ -67,9 +67,9 @@ class HttpRequest extends BaseRequest implements Requestable {
         * @param       $headerName             Name of the header
         * @return      $headerValue    Value of the header or 'null' if not found
         */
-       public function getHeader ($headerName) {
+       public function getHeaderElement ($headerName) {
                // Default return value on error
-               $headerValue = null;
+               $headerValue = NULL;
 
                // Construct the name
                $name = 'HTTP_' . strtolower($this->convertDashesToUnderscores($headerName));
@@ -100,7 +100,7 @@ class HttpRequest extends BaseRequest implements Requestable {
         */
        public final function readCookie ($cookieName) {
                // Default is no cookie with that name found
-               $cookieValue = null;
+               $cookieValue = NULL;
 
                // Is the cookie set?
                if (isset($_COOKIE[$cookieName])) {