## Class THttpUtility

Description

THttpUtility class

- since: 3.0
- version: $Id: THttpUtility.php 2541 2008-10-21 15:05:13Z qiang.xue $
- author: Qiang Xue <qiang.xue@gmail.com>

Located in /Web/THttpUtility.php (line 21)

Method Summary
string htmlDecode (string $s)
string htmlEncode (string $s)
Methods
htmlDecode (line 45)

HTML-decodes a string.

It is the inverse of htmlEncode.

- return: decoded string
- static:
- access: public

string htmlDecode (string $s)

- string $s: string to be decoded

htmlEncode (line 34)

HTML-encodes a string.

This method translates the following characters to their corresponding HTML entities: <, >, " Note, unlike htmlspeicalchars, & is not translated.

- return: encoded string
- static:
- access: public

string htmlEncode (string $s)

- string $s: string to be encoded

Documentation generated on Mon, 22 Feb 2010 12:17:54 +0000 by phpDocumentor 1.3.0RC4