[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/framework/Web/ -> THttpUtility.php (sommaire)

THttpUtility class file

Author: Qiang Xue <qiang.xue@gmail.com>
Copyright: Copyright © 2005 PradoSoft
License: http://www.pradosoft.com/license/
Version: $Id: THttpUtility.php 1397 2006-09-07 07:55:53Z wei $
Poids: 51 lignes (1 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

THttpUtility:: (2 méthodes):
  htmlEncode()
  htmlDecode()


Classe: THttpUtility  - X-Ref

THttpUtility class

htmlEncode($s)   X-Ref
HTML-encodes a string.
This method translates the following characters to their corresponding
HTML entities: <, >, "
Note, unlike {@link htmlspeicalchars}, & is not translated.

param: string string to be encoded
return: string encoded string

htmlDecode($s)   X-Ref
HTML-decodes a string.
It is the inverse of {@link htmlEncode}.

param: string string to be decoded
return: string decoded string



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7