From 4183c70e0c155664687f226a0e075b1cb2578dcd Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 5 Apr 2015 22:29:54 +0200 Subject: [PATCH] Added new method as the template engine may need additional application-depending data from the application. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../application/class_ManageableApplication.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/inc/classes/interfaces/application/class_ManageableApplication.php b/inc/classes/interfaces/application/class_ManageableApplication.php index 0539f110..65b98650 100644 --- a/inc/classes/interfaces/application/class_ManageableApplication.php +++ b/inc/classes/interfaces/application/class_ManageableApplication.php @@ -49,6 +49,15 @@ interface ManageableApplication extends FrameworkInterface { * @return $masterTemplateName Name of the master template */ function buildMasterTemplateName(); + + /** + * Assigns extra application-depending data + * + * @param $templateInstance An instance of a CompileableTemplate + * @return void + * @todo Nothing to add? + */ + function assignExtraTemplateData (CompileableTemplate $templateInstance); } // [EOF] -- 2.39.5