From 88a3ef07397fbf679e0b70f9c73c4d4b806b0e41 Mon Sep 17 00:00:00 2001 From: "godzilla80@gmx.net" <> Date: Sat, 26 Feb 2011 14:18:50 +0000 Subject: CHG: Remove TReflectionClass and all references since equals ReflectionClass --- framework/Web/UI/TTemplateManager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'framework/Web/UI/TTemplateManager.php') diff --git a/framework/Web/UI/TTemplateManager.php b/framework/Web/UI/TTemplateManager.php index 505600e8..49873340 100644 --- a/framework/Web/UI/TTemplateManager.php +++ b/framework/Web/UI/TTemplateManager.php @@ -170,7 +170,7 @@ class TTemplate extends TApplicationComponent implements ITemplate { /** * '' - template comments - * '' - HTML comments + * '' - HTML comments * '<\/?com:([\w\.]+)((?:\s*[\w\.]+\s*=\s*\'.*?\'|\s*[\w\.]+\s*=\s*".*?"|\s*[\w\.]+\s*=\s*<%.*?%>)*)\s*\/?>' - component tags * '<\/?prop:([\w\.]+)\s*>' - property tags * '<%@\s*((?:\s*[\w\.]+\s*=\s*\'.*?\'|\s*[\w\.]+\s*=\s*".*?")*)\s*%>' - directives @@ -583,7 +583,7 @@ class TTemplate extends TApplicationComponent implements ITemplate $n=preg_match_all(self::REGEX_RULES,$input,$matches,PREG_SET_ORDER|PREG_OFFSET_CAPTURE); $expectPropEnd=false; $textStart=0; - $stack=array(); + $stack=array(); $container=-1; $matchEnd=0; $c=0; @@ -916,7 +916,7 @@ class TTemplate extends TApplicationComponent implements ITemplate $className=substr($type,$pos+1); else $className=$type; - $class=new TReflectionClass($className); + $class=new ReflectionClass($className); if(is_subclass_of($className,'TControl') || $className==='TControl') { foreach($attributes as $name=>$att) -- cgit v1.2.3