]> git.mxchange.org Git - core.git/blobdiff - inc/classes/interfaces/template/class_CompileableTemplate.php
Support for application local configuration file 'config-local.php' added
[core.git] / inc / classes / interfaces / template / class_CompileableTemplate.php
index 3432251f33ee7cd32d4489f5db06bdc1e904685f..ebef14a1ad039126e65bba0f649a4a920b3199ff 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -119,10 +119,10 @@ interface CompileableTemplate extends FrameworkInterface {
        /**
         * Assigns all the application data with template variables
         *
-        * @param       $appInstance    A manageable application instance
+        * @param       $applicationInstance    A manageable application instance
         * @return      void
         */
-       function assignApplicationData (ManageableApplication $appInstance);
+       function assignApplicationData (ManageableApplication $applicationInstance);
 
        /**
         * "Compiles" a variable by replacing {?var?} with it's content
@@ -180,8 +180,15 @@ interface CompileableTemplate extends FrameworkInterface {
         * @return      $xmlCompacting  Wether XML compacting is enabled or disabled
         */
        function isXmlCompactingEnabled ();
+
+       /**
+        * Removes all comments, tabs and new-line charcters to compact the content
+        *
+        * @param       $uncompactedContent             The uncompacted content
+        * @return      $compactedContent               The compacted content
+        */
+       function compactContent ($uncompactedContent);
 }
 
 // [EOF]
 ?>
-