Login area extended and misc things changed:
[shipsimu.git] / inc / classes / main / class_BaseFrameworkSystem.php
index 08abd1f8001ec6046bd603f487a638f08ea8fd75..0707487b3c3ae76f659fa89f8277d0aaf078ac68 100644 (file)
@@ -935,17 +935,17 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         *
         * @param               $appInstance                    An application helper instance or
         *                                                                              null if we shall use the default
-        * @return              $tplEngine                              The template engine instance
+        * @return              $templateInstance                               The template engine instance
         * @throws              NullPointerException    If the template engine could not
         *                                                                              be initialized
-        * @throws              UnsupportedTemplateEngineException      If $tplEngine is an
+        * @throws              UnsupportedTemplateEngineException      If $templateInstance is an
         *                                                                              unsupported template engine
         * @throws              MissingLanguageHandlerException If the language sub-system
         *                                                                              is not yet initialized
         * @throws              NullPointerException    If the discovered application
         *                                                                              instance is still null
         */
-       protected function prepareTemplateEngine (BaseFrameworkSystem $appInstance=null) {
+       protected function prepareTemplateInstance (BaseFrameworkSystem $appInstance=null) {
                // Is the application instance set?
                if (is_null($appInstance)) {
                        // Get the current instance
@@ -976,10 +976,10 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                }
 
                // Initialize the template engine
-               $tplEngine = ObjectFactory::createObjectByConfiguredName('template_class', array($fqfn, $appInstance->getLanguageInstance(), $appInstance->getFileIoInstance()));
+               $templateInstance = ObjectFactory::createObjectByConfiguredName('template_class', array($fqfn, $appInstance->getLanguageInstance(), $appInstance->getFileIoInstance()));
 
                // Return the prepared instance
-               return $tplEngine;
+               return $templateInstance;
        }
 
        /**