diff options
Diffstat (limited to 'framework/Web/THttpUtility.php')
-rw-r--r-- | framework/Web/THttpUtility.php | 8 |
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)
|