]> git.mxchange.org Git - core.git/blobdiff - inc/classes/interfaces/template/class_CompileableTemplate.php
Changed all true/false to TRUE/FALSE respectively as PHP constants are better than...
[core.git] / inc / classes / interfaces / template / class_CompileableTemplate.php
index cf982f62b97e86ddff4fff6fd8b3e2f4ba8afde5..ea1f912bdfa20fdc79c93fedbb0825fa38cc1f81 100644 (file)
@@ -129,10 +129,10 @@ interface CompileableTemplate extends FrameworkInterface {
         * "Compiles" a variable by replacing {?var?} with it's content
         *
         * @param       $rawCode                        Raw code to compile
-        * @param       $setMatchAsCode         Sets $match if readVariable() returns empty result
-        * @return      $rawCode        Compile code with inserted variable value
+        * @param       $setMatchAsCode         Sets $match if readVariable() returns empty result (default: FALSE)
+        * @return      $rawCode                        Compile code with inserted variable value
         */
-       function compileRawCode ($rawCode, $setMatchAsCode=false);
+       function compileRawCode ($rawCode, $setMatchAsCode = FALSE);
 
        /**
         * Renames a variable in code and in stack
@@ -158,7 +158,7 @@ interface CompileableTemplate extends FrameworkInterface {
         * @param       $languageSupport        New language support setting
         * @return      void
         */
-       function enableLanguageSupport ($languageSupport = true);
+       function enableLanguageSupport ($languageSupport = TRUE);
 
        /**
         * Checks whether language support is enabled
@@ -173,7 +173,7 @@ interface CompileableTemplate extends FrameworkInterface {
         * @param       $xmlCompacting  New XML compacting setting
         * @return      void
         */
-       function enableXmlCompacting ($xmlCompacting = true);
+       function enableXmlCompacting ($xmlCompacting = TRUE);
 
        /**
         * Checks whether XML compacting is enabled