Continued:
[core.git] / framework / main / classes / decorator / template / class_XmlRewriterTemplateDecorator.php
index 9b4e6a036c91ca8a922b3e09c91be4806d1d4c16..e1467317938be0aa7d1574dde5c49cc179a311cc 100644 (file)
@@ -1,12 +1,11 @@
 <?php
 // Own namespace
-namespace CoreFramework\Template\Xml;
+namespace Org\Mxchange\CoreFramework\Template\Xml;
 
 // Import framework stuff
-use CoreFramework\Generic\BaseDecorator;
-use CoreFramework\Manager\ManageableApplication;
-use CoreFramework\Response\Responseable;
-use CoreFramework\Template\CompileableTemplate;
+use Org\Mxchange\CoreFramework\Generic\BaseDecorator;
+use Org\Mxchange\CoreFramework\Response\Responseable;
+use Org\Mxchange\CoreFramework\Template\CompileableTemplate;
 
 /**
  * A decorator for XML template engines which rewrites the XML for compacting
@@ -66,7 +65,7 @@ class XmlRewriterTemplateDecorator extends BaseDecorator implements CompileableT
         * @param       $add            Whether add this group
         * @return      void
         */
-       public function setVariableGroup ($groupName, $add = TRUE) {
+       public function setVariableGroup ($groupName, $add = true) {
                // Call the inner class' method
                $this->getTemplateInstance()->setVariableGroup($groupName, $add);
        }
@@ -274,12 +273,11 @@ class XmlRewriterTemplateDecorator extends BaseDecorator implements CompileableT
        /**
         * Assigns all the application data with template variables
         *
-        * @param       $applicationInstance    A manageable application instance
         * @return      void
         */
-       public function assignApplicationData (ManageableApplication $applicationInstance) {
+       public function assignApplicationData () {
                // Call the inner class' method
-               $this->getTemplateInstance()->assignApplicationData($applicationInstance);
+               $this->getTemplateInstance()->assignApplicationData();
        }
 
        /**
@@ -289,7 +287,7 @@ class XmlRewriterTemplateDecorator extends BaseDecorator implements CompileableT
         * @param       $setMatchAsCode         Sets $match if readVariable() returns empty result
         * @return      $rawCode                        Compile code with inserted variable value
         */
-       public function compileRawCode ($rawCode, $setMatchAsCode = FALSE) {
+       public function compileRawCode ($rawCode, $setMatchAsCode = false) {
                return $this->getTemplateInstance()->compileRawCode($rawCode, $setMatchAsCode);
        }
 
@@ -343,7 +341,7 @@ class XmlRewriterTemplateDecorator extends BaseDecorator implements CompileableT
         * @param       $languageSupport        New language support setting
         * @return      void
         */
-       public function enableLanguageSupport ($languageSupport = TRUE) {
+       public function enableLanguageSupport ($languageSupport = true) {
                // Call the inner class' method
                $this->getTemplateInstance()->enableLanguageSupport($languageSupport);
        }
@@ -364,7 +362,7 @@ class XmlRewriterTemplateDecorator extends BaseDecorator implements CompileableT
         * @param       $xmlCompacting  New XML compacting setting
         * @return      void
         */
-       public function enableXmlCompacting ($xmlCompacting = TRUE) {
+       public function enableXmlCompacting ($xmlCompacting = true) {
                // Call the inner class' method
                $this->getTemplateInstance()->enableXmlCompacting($xmlCompacting);
        }