]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/class_ApplicationHelper.php
More exceptions added, class loader can now load extra configs
[shipsimu.git] / application / ship-simu / class_ApplicationHelper.php
index a177d343c228d6c88a80909479d0fe8aa0fe0b9b..ccce7378c793b276335b2a3c2e9b7f136a5860c1 100644 (file)
  * Please remember that this include file is being loaded *before* the class
  * loader is loading classes from "exceptions", "interfaces" and "main"!
  *
- * @author     Roland Haeder <roland __NOSPAM__ [at] __REMOVE_ME__ mxchange [dot] org>
- * @version    0.1
+ * @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.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
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * 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/>.
  */
 class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplication {
        /**
@@ -147,8 +163,17 @@ 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
+               $this->handleRequest();
+
+               // 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!");
        }
 }