## Class THttpUtility

Description

THttpUtility class

- since: 3.0
- version: $Revision: $ $Date: $
- 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, 01 May 2006 23:03:43 -0400 by phpDocumentor 1.3.0RC4