]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/class_BaseFrameworkSystem.php
Menu engine heavily extended, misc rewrites:
[core.git] / inc / classes / main / class_BaseFrameworkSystem.php
index f297db74122d5f41ec0c7d49af7c2076891c85c5..afb1cfaa12ddbd79b09bcffb384a2eb92c9a6a38 100644 (file)
@@ -93,6 +93,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         */
        private $menuInstance = null;
 
+       /**
+        * Instance of the image
+        */
+       private $imageInstance = null;
+
        /**
         * The real class name
         */
@@ -679,7 +684,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                }
 
                // Initialize the template engine
-               $templateInstance = ObjectFactory::createObjectByConfiguredName('template_class', array($appInstance));
+               $templateInstance = ObjectFactory::createObjectByConfiguredName('web_template_class', array($appInstance));
 
                // Return the prepared instance
                return $templateInstance;
@@ -1229,6 +1234,25 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
        protected final function getMenuInstance () {
                return $this->menuInstance;
        }
+
+       /**
+        * Setter for image instanxe
+        *
+        * @param       $imageInstance  An instance of an image
+        * @return      void
+        */
+       public final function setImageInstance (BaseImage $imageInstance) {
+               $this->imageInstance = $imageInstance;
+       }
+
+       /**
+        * Getter for image instanxe
+        *
+        * @return      $imageInstance  An instance of an image
+        */
+       public final function getImageInstance () {
+               return $this->imageInstance;
+       }
 }
 
 // [EOF]