]> git.mxchange.org Git - hub.git/blobdiff - application/hub/class_ApplicationHelper.php
Code syncronized with shipsimu code base
[hub.git] / application / hub / class_ApplicationHelper.php
index 696aee8fe5709b9ae3abc846b279a709d6da61c6..24aab7c80c41fedb2ff2663d3386510366dbe65d 100644 (file)
@@ -66,16 +66,11 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
         */
        protected function __construct () {
                // Call parent constructor
-               parent::constructor(__CLASS__);
-
-               // Set description
-               $this->setObjectDescription("Application-Helper");
-
-               // Create an unique ID
-               $this->createUniqueID();
+               parent::__construct(__CLASS__);
 
                // Tidy up a little
                $this->removeSystemArray();
+               $this->removeNumberFormaters();
        }
 
        /**
@@ -185,6 +180,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]