getCompiledData() must be public for e.g. mailer classes such as DebugMailer.
authorRoland Haeder <roland@mxchange.org>
Thu, 14 May 2015 08:57:07 +0000 (10:57 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 14 May 2015 08:57:07 +0000 (10:57 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/template/class_BaseTemplateEngine.php

index ed6f5dd61a238ea1e08490dda141998bc3ed6d38..a447eb578b58bbc842d3dc51b87e90e2e11a7fdf 100644 (file)
@@ -647,11 +647,11 @@ class BaseTemplateEngine extends BaseFrameworkSystem {
        }
 
        /**
-        * Getter for compiled templates
+        * Getter for compiled templates, must be public for e.g. Mailer classes.
         *
         * @return      $compiledData   Compiled template data
         */
-       protected final function getCompiledData () {
+       public final function getCompiledData () {
                //* DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('BASE-TEMPLATE[' . __METHOD__ . ':' . __LINE__ . ']: ' . strlen($this->compiledData) . ' Bytes read.');
                return $this->compiledData;
        }