diff options
author | godzilla80@gmx.net <> | 2011-02-26 14:18:50 +0000 |
---|---|---|
committer | godzilla80@gmx.net <> | 2011-02-26 14:18:50 +0000 |
commit | 88a3ef07397fbf679e0b70f9c73c4d4b806b0e41 (patch) | |
tree | 96d126f2f81d0f433d140894f381d09a3d528df3 /framework/Web | |
parent | 09e47185124cc4674fac4656959d57c92537d355 (diff) |
CHG: Remove TReflectionClass and all references since equals ReflectionClass
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/UI/TClientScriptManager.php | 8 | ||||
-rw-r--r-- | framework/Web/UI/TTemplateManager.php | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/framework/Web/UI/TClientScriptManager.php b/framework/Web/UI/TClientScriptManager.php index f6be8217..cf5f33d4 100644 --- a/framework/Web/UI/TClientScriptManager.php +++ b/framework/Web/UI/TClientScriptManager.php @@ -80,8 +80,8 @@ class TClientScriptManager extends TApplicationComponent * Client-side javascript library packages, loads from SCRIPT_PATH.'/packages.php'; * @var array */ - private static $_pradoPackages; - + private static $_pradoPackages; + /** * Constructor. * @param TPage page that owns this client script manager @@ -259,7 +259,7 @@ class TClientScriptManager extends TApplicationComponent public function getCallbackReference(ICallbackEventHandler $callbackHandler, $options=null) { $options = !is_array($options) ? array() : $options; - $class = new TReflectionClass($callbackHandler); + $class = new ReflectionClass($callbackHandler); $clientSide = $callbackHandler->getActiveControl()->getClientSide(); $options = array_merge($options, $clientSide->getOptions()->toArray()); $optionString = TJavaScript::encode($options); @@ -370,7 +370,7 @@ class TClientScriptManager extends TApplicationComponent /** * Registers a CSS file to be rendered in the page head * - * The CSS files in themes are registered in {@link OnPreRenderComplete onPreRenderComplete} if you want to override + * The CSS files in themes are registered in {@link OnPreRenderComplete onPreRenderComplete} if you want to override * CSS styles in themes you need to register it after this event is completed. * * Example: 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)
|