Opps, forgot this.
[core.git] / inc / classes / interfaces / template / class_CompileableTemplate.php
index d3f2f764cb2563ba31a72513f020b171c667695a..d12656878f85a85f83fffa9095bee60d415406a7 100644 (file)
@@ -32,13 +32,13 @@ interface CompileableTemplate extends FrameworkInterface {
        function assignVariable ($variableName, $value);
 
        /**
-        * Load a specified web template into the engine
+        * Load a specified HTML template into the engine
         *
         * @param       $template       The web template we shall load which is located in
         *                                              "html" by default
         * @return      void
         */
-       function loadWebTemplate ($template);
+       function loadHtmlTemplate ($template);
 
        /**
         * Load a specified code template into the engine for later compilation
@@ -50,6 +50,16 @@ interface CompileableTemplate extends FrameworkInterface {
         */
        function loadCodeTemplate ($template);
 
+       /**
+        * Load a specified email template into the engine for later compilation
+        * with other code/web/email templates.
+        *
+        * @param       $template       The email template we shall load which is
+        *                                              located in "html" by default
+        * @return      void
+        */
+       function loadEmailTemplate ($template);
+
        /**
         * Compile all variables by inserting their respective values
         *
@@ -251,15 +261,6 @@ interface CompileableTemplate extends FrameworkInterface {
         */
        function getRawTemplateData ();
 
-       /**
-        * Load a specified web template into the engine
-        *
-        * @param       $template       The web template we shall load which is located in
-        *                                              'html' by default
-        * @return      void
-        */
-       function loadWebTemplate ($template);
-
        /**
         * Assigns a lot variables into the stack of currently loaded template.
         * This method should only be used in very rare circumstances, e.g. when