Updated domain without a dash :(
[core.git] / inc / classes / interfaces / request / class_Requestable.php
index 47431f70db83cf0723e0d108732f6b4367f8a7b4..2ac92f4d9765688c8ed1bf0c828fc44224260005 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 - 2012 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
@@ -30,9 +30,10 @@ interface Requestable extends FrameworkInterface {
        function prepareRequestData ();
 
        /**
-        * Checks wether a request element is set
+        * Checks whether a request element is set
+        *
         * @param       $element        Name of the request element we want to check
-        * @return      $isSet          Wether the request element is set
+        * @return      $isSet          Whether the request element is set
         * @throws      MissingArrayElementsException   Thrown if a request element is not set
         */
        function isRequestElementSet ($element);
@@ -62,12 +63,12 @@ interface Requestable extends FrameworkInterface {
        function getHeader ($headerName);
 
        /**
-        * Sets wether the request was valid (default: true)
+        * Sets whether the request was valid (default: TRUE)
         *
-        * @param       $isValid                Wether 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