X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Finterfaces%2Ftemplate%2Fclass_CompileableTemplate.php;h=d12656878f85a85f83fffa9095bee60d415406a7;hp=d3f2f764cb2563ba31a72513f020b171c667695a;hb=5203f9bd014ad46fbc7ee54e7223dcd46e14e3b4;hpb=84dcf5e4e7a6bbe55c6beac203729a82e5a2c2de diff --git a/inc/classes/interfaces/template/class_CompileableTemplate.php b/inc/classes/interfaces/template/class_CompileableTemplate.php index d3f2f764..d1265687 100644 --- a/inc/classes/interfaces/template/class_CompileableTemplate.php +++ b/inc/classes/interfaces/template/class_CompileableTemplate.php @@ -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