]> git.mxchange.org Git - core.git/blobdiff - inc/classes/interfaces/request/class_Requestable.php
Added new CSV file abstraction class which is now a stub and needs expansion.
[core.git] / inc / classes / interfaces / request / class_Requestable.php
index 76174b25a29bd248190b1ab16e0be3a5a57d8149..95c32e64043093387ca11aaad89cb03085e1d06b 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * An interface for requests
  *
- * @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 - 2014 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -31,6 +31,7 @@ interface Requestable extends FrameworkInterface {
 
        /**
         * Checks whether a request element is set
+        *
         * @param       $element        Name of the request element we want to check
         * @return      $isSet          Whether the request element is set
         * @throws      MissingArrayElementsException   Thrown if a request element is not set
@@ -59,15 +60,15 @@ interface Requestable extends FrameworkInterface {
         * @param       $headerName             Name of the header
         * @return      $headerValue    Value of the header or 'null' if not found
         */
-       function getHeader ($headerName);
+       function getHeaderElement ($headerName);
 
        /**
-        * Sets whether the request was valid (default: true)
+        * Sets whether the request was valid (default: TRUE)
         *
-        * @param       $isValid                Whether the request is valid
+        * @param       $isValid        Whether the request is valid
         * @return      void
         */
-       function requestIsValid ($isValid = true);
+       function requestIsValid ($isValid = TRUE);
 
        /**
         * Reads a cookie and returns it's value or null if not found