X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Finterfaces%2Ftemplate%2Fclass_CompileableTemplate.php;h=c6b1a1a8a87d5a9b3fe5f6596844773a03720f6b;hb=51caaa61ae7ee017abdfd116bbd8c438451315b2;hp=3432251f33ee7cd32d4489f5db06bdc1e904685f;hpb=43deb129f6e8a12c37f0df17ad0870d3491bdd34;p=core.git diff --git a/inc/classes/interfaces/template/class_CompileableTemplate.php b/inc/classes/interfaces/template/class_CompileableTemplate.php index 3432251f..c6b1a1a8 100644 --- a/inc/classes/interfaces/template/class_CompileableTemplate.php +++ b/inc/classes/interfaces/template/class_CompileableTemplate.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @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,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 $content The uncompacted content + * @return $content The compacted content + */ + function compactContent ($content); } // [EOF] ?> -