summaryrefslogtreecommitdiff
path: root/framework/Web/THttpUtility.php
diff options
context:
space:
mode:
authorxue <>2005-12-08 17:51:08 +0000
committerxue <>2005-12-08 17:51:08 +0000
commit1bbff5ec853ae88cdfe1446d22c06a87fe305c0f (patch)
treeae353445a282289e947f389f5e7ef306e0b53de9 /framework/Web/THttpUtility.php
parent67512372613e56f223d810af3bc368834167707d (diff)
Diffstat (limited to 'framework/Web/THttpUtility.php')
-rw-r--r--framework/Web/THttpUtility.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/Web/THttpUtility.php b/framework/Web/THttpUtility.php
index 8951cbe7..c3ef2b4c 100644
--- a/framework/Web/THttpUtility.php
+++ b/framework/Web/THttpUtility.php
@@ -2,7 +2,7 @@
class THttpUtility
{
- private static $entityTable=null;
+ private static $_entityTable=null;
public static function htmlEncode($s)
{
@@ -11,14 +11,14 @@ class THttpUtility
public static function htmlDecode($s)
{
- if(!self::$entityTable)
+ if(!self::$_entityTable)
self::buildEntityTable();
- return strtr($s,self::$entityTable);
+ return strtr($s,self::$_entityTable);
}
private static function buildEntityTable()
{
- self::$entityTable=array_flip(get_html_translation_table(HTML_ENTITIES,ENT_QUOTES));
+ self::$_entityTable=array_flip(get_html_translation_table(HTML_ENTITIES,ENT_QUOTES));
}
public static function quoteJavaScriptString($js,$forUrl=false)