X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Finterfaces%2Ftemplate%2Fclass_CompileableTemplate.php;fp=inc%2Fclasses%2Finterfaces%2Ftemplate%2Fclass_CompileableTemplate.php;h=c6b1a1a8a87d5a9b3fe5f6596844773a03720f6b;hb=0b0228ee8e795d5bd429449eeefcef27730c895e;hp=d0de9ec092fc02c0472d7a93440faf7cc4332f71;hpb=bd8a0f8e45a51ded51fd3afb2996c5e29f6852aa;p=core.git diff --git a/inc/classes/interfaces/template/class_CompileableTemplate.php b/inc/classes/interfaces/template/class_CompileableTemplate.php index d0de9ec0..c6b1a1a8 100644 --- a/inc/classes/interfaces/template/class_CompileableTemplate.php +++ b/inc/classes/interfaces/template/class_CompileableTemplate.php @@ -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 $content The uncompacted content + * @return $content The compacted content + */ + function compactContent ($content); } // [EOF]