]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/interfaces/response/class_Responseable.php
Just a space removed
[shipsimu.git] / inc / classes / interfaces / response / class_Responseable.php
index 22ee2cbe08c3a8fbd1eef25557064cb54cd1857b..c7d21032d2223c6be2d3907e0be498e011c01c55 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * An interface for responses
  *
- * @author             Roland Haeder <webmaster@mxchange.org>
- * @version            0.3.0
+ * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @version            0.0.0
  * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.mxchange.org
+ * @link               http://www.ship-simu.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
@@ -19,7 +19,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Responseable extends FrameworkInterface {
        /**
@@ -56,7 +56,16 @@ interface Responseable extends FrameworkInterface {
         * @throws      ResponseHeadersAlreadySentException             Thrown if headers are
         *                                                                                                      already sent
         */
-       function flushResponse($force=false);
+       function flushBuffer($force=false);
+
+       /**
+        * Adds a fatal message id to the response. The added messages can then be
+        * processed and outputed to the world
+        *
+        * @param       $messageId      The message id we shall add
+        * @return      void
+        */
+       function addFatalMessage ($messageId);
 }
 
 //