From 45b0fe42a979d444d547a5248eb2e9e915aaf16a Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 14 Jan 2007 02:10:24 +0000 Subject: Add "block-content" to allow user comments on block level elements in quickstart docs. --- framework/Web/UI/TTemplateManager.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'framework/Web/UI/TTemplateManager.php') diff --git a/framework/Web/UI/TTemplateManager.php b/framework/Web/UI/TTemplateManager.php index faf0c7fd..ef4a5c1e 100644 --- a/framework/Web/UI/TTemplateManager.php +++ b/framework/Web/UI/TTemplateManager.php @@ -249,6 +249,14 @@ class TTemplate extends TApplicationComponent implements ITemplate $this->_content=null; // reset to save memory } + /** + * @return string template file path if available, null otherwise. + */ + public function getTemplateFile() + { + return $this->_tplFile; + } + /** * @return boolean whether this template is a source template, i.e., this template is loaded from * some external storage rather than from within another template. -- cgit v1.2.3