aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/template')
-rw-r--r--phpBB/includes/template/template.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/phpBB/includes/template/template.php b/phpBB/includes/template/template.php
index 5ac9a32724..71fecc7d26 100644
--- a/phpBB/includes/template/template.php
+++ b/phpBB/includes/template/template.php
@@ -493,4 +493,17 @@ class phpbb_template
}
include($file);
}
+
+ /**
+ * Retrieves the template locator object.
+ *
+ * This function is public for the benefit of bbcode implementation.
+ * It should not be considered part of template class's public API.
+ *
+ * @return phpbb_template_locator Template locator for this template
+ */
+ public function _get_locator()
+ {
+ return $this->locator;
+ }
}