Continued:
[core.git] / framework / main / classes / class_BaseFrameworkSystem.php
index 69bcba9595a08def54ed08771f72260c1ec294b5..322bd28263da9984da6176ce53c2c31516f32a58 100644 (file)
@@ -262,6 +262,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         */
        private $registryInstance = NULL;
 
+       /**
+        * Call-back instance
+        */
+       private $callbackInstance = NULL;
+
        /**
         * Thousands separator
         */
@@ -1551,6 +1556,25 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                return $this->registryInstance;
        }
 
+       /**
+        * Setter for call-back instance
+        *
+        * @param       $callbackInstance       An instance of a FrameworkInterface class
+        * @return      void
+        */
+       public final function setCallbackInstance (FrameworkInterface $callbackInstance) {
+               $this->callbackInstance = $callbackInstance;
+       }
+
+       /**
+        * Getter for call-back instance
+        *
+        * @return      $callbackInstance       An instance of a FrameworkInterface class
+        */
+       protected final function getCallbackInstance () {
+               return $this->callbackInstance;
+       }
+
        /**
         * Setter for command name
         *