From: Roland Häder Date: Wed, 16 May 2012 20:06:33 +0000 (+0000) Subject: Made readVariable() protected again, if you need access to this method, implement... X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=1b91533196685d29640d1593b713361745889095 Made readVariable() protected again, if you need access to this method, implement a public method in your template engine which calls this method. --- diff --git a/inc/classes/main/template/class_BaseTemplateEngine.php b/inc/classes/main/template/class_BaseTemplateEngine.php index 16e50187..231d4382 100644 --- a/inc/classes/main/template/class_BaseTemplateEngine.php +++ b/inc/classes/main/template/class_BaseTemplateEngine.php @@ -243,7 +243,7 @@ class BaseTemplateEngine extends BaseFrameworkSystem { * @param $stack Optional variable stack to look in * @return $content Content of the variable or null if not found */ - public function readVariable ($var, $stack = NULL) { + protected function readVariable ($var, $stack = NULL) { // First everything is not found $content = NULL;