Code base synced
[mailer.git] / inc / classes / main / response / class_BaseResponse.php
index 2ecfaa2baee1121ffb69eeb071e3cd4fd0c0a6fb..0c3a4c71a268f9778fc66c4f50be772966ef464a 100644 (file)
@@ -132,6 +132,17 @@ class BaseResponse extends BaseFrameworkSystem {
                $this->fatalMessages[] = $this->getApplicationInstance()->getLanguageInstance()->getMessage($messageId);
        }
 
+       /**
+        * Adds a plain fatal message id to the response
+        *
+        * @param       $message        The plain message we shall add
+        * @return      void
+        */
+       public final function addFatalMessagePlain ($message) {
+               // Adds the resolved message id to the fatal message list
+               $this->fatalMessages[] = $message;
+       }
+
        /**
         * Flushs the cached HTTP response to the outer world
         *