]> git.mxchange.org Git - hub.git/blobdiff - application/hub/class_ApplicationHelper.php
Code merge from latest ship-simu code
[hub.git] / application / hub / class_ApplicationHelper.php
index 94ea19675778004a411b042ea6149fff42abb509..466ff6d83a5e61443e033dfe6bbf52e2a0e1e727 100644 (file)
@@ -185,6 +185,20 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
        public final function getMasterTemplate () {
                return "hub_main";
        }
+
+       /**
+        * Handle the indexed array of fatal messages and puts them out in an
+        * acceptable fasion
+        *
+        * @param       $messageList    An array of fatal messages
+        * @return      void
+        */
+       public function handleFatalMessages (array $messageList) {
+               // Walk through all messages
+               foreach ($messageList as $message) {
+                       die("MSG:".$message);
+               }
+       }
 }
 
 // [EOF]