More exceptions added, init of template engine moved to base class, entryPoint()...
[shipsimu.git] / application / ship-simu / class_ApplicationHelper.php
index e3209ef20732511f6de242f3bb95d3b528a5ea51..e141d04f08647918ff953edfd43df1fcf3836d41 100644 (file)
@@ -163,8 +163,16 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica
         * @return      void
         */
        public final function entryPoint () {
-               // Must still be implemented!
-               trigger_error(__METHOD__.": Not implemented yet!");
+               // Handle the request
+
+               // Prepare the template engine
+               $tplEngine = $this->prepareTemplateEngine($this);
+
+               // Load the main template
+               $tplEngine->loadCodeTemplate("shipsimu_main");
+
+               // Raise an error here
+               trigger_error(__METHOD__.": Unfinished work!");
        }
 }