]> git.mxchange.org Git - hub.git/commitdiff
Added missing method readSelfConnectData()
authorRoland Häder <roland@mxchange.org>
Thu, 17 May 2012 10:28:01 +0000 (10:28 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 17 May 2012 10:28:01 +0000 (10:28 +0000)
application/hub/main/template/connect/class_XmlSelfConnectTemplateEngine.php

index 20d69b3fbadcf8147bf53cee9bb170ddf4493bb1..0908b9e7fa918c48faa2028a0c6d0435b48d22cf 100644 (file)
@@ -287,6 +287,21 @@ class XmlSelfConnectTemplateEngine extends BaseTemplateEngine implements Compile
                } // END - if
        }
 
+       /**
+        * Read self-connect variables by calling readVariable() with 'general' as
+        * variable stack.
+        *
+        * @param       $key    Key to read from
+        * @return      $value  Value from variable
+        */
+       public function readSelfConnectData ($key) {
+               // Read the variable
+               $value = parent::readVariable($key, 'general');
+
+               // Return value
+               return $value;
+       }
+
        /**
         * Getter for cache file (FQFN)
         *