]> git.mxchange.org Git - core.git/blobdiff - inc/classes/interfaces/template/class_CompileableTemplate.php
Moved socket registry to hub project, extended socket container with more parameters
[core.git] / inc / classes / interfaces / template / class_CompileableTemplate.php
index 4844c7c9c9e2c6b5bd2c7798d2f0eecc932696f9..1e7f82fd68e87c95d0f70d8c867ead1c6eda07a4 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, 2010 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -180,6 +180,14 @@ 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]