summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TTemplateControl.php
diff options
context:
space:
mode:
authorxue <>2006-01-11 02:17:12 +0000
committerxue <>2006-01-11 02:17:12 +0000
commitdeb44d4ca9cb18865c90de0878cbc27aa4ee6c56 (patch)
tree1c177f456564c34b999737953c7a3b01d9b0519a /framework/Web/UI/TTemplateControl.php
parent384a8f108e3de0e2475d4267732b0f3ffabb7541 (diff)
TRepeater nearly completed (test pending)
Diffstat (limited to 'framework/Web/UI/TTemplateControl.php')
-rw-r--r--framework/Web/UI/TTemplateControl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/TTemplateControl.php b/framework/Web/UI/TTemplateControl.php
index 93951718..72731ecd 100644
--- a/framework/Web/UI/TTemplateControl.php
+++ b/framework/Web/UI/TTemplateControl.php
@@ -72,7 +72,7 @@ class TTemplateControl extends TControl implements INamingContainer
* @param boolean whether to attempt loading template if it is not loaded yet
* @return ITemplate|null the parsed template, null if none
*/
- protected function getTemplate($load=false)
+ public function getTemplate($load=false)
{
if($this->_localTemplate===null)
{
@@ -90,7 +90,7 @@ class TTemplateControl extends TControl implements INamingContainer
* This method should only be used by framework and control developers.
* @param ITemplate the parsed template
*/
- protected function setTemplate($value)
+ public function setTemplate($value)
{
$this->_localTemplate=$value;
}