[ Index ]
 

Code source de vtiger CRM 5.0.2

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

title

Body

[fermer]

/log4php/helpers/ -> LoggerTransform.php (sommaire)

log4php is a PHP port of the log4j java logging package. <p>This framework is based on log4j (see {@link http://jakarta.apache.org/log4j log4j} for details).</p> <p>Design, strategies and part of the methods documentation are developed by log4j team (Ceki Gülcü as log4j project founder and {@link http://jakarta.apache.org/log4j/docs/contributors.html contributors}).</p>

Poids: 95 lignes (3 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

LoggerTransform:: (2 méthodes):
  escapeTags()
  appendEscapingCDATA()


Classe: LoggerTransform  - X-Ref

Utility class for transforming strings.

escapeTags($input)   X-Ref
This method takes a string which may contain HTML tags (ie,
&lt;b&gt;, &lt;table&gt;, etc) and replaces any '&lt;' and '&gt;'
characters with respective predefined entity references.

param: string $input The text to be converted.
return: string The input string with the characters '&lt;' and '&gt;' replaced with

appendEscapingCDATA(&$buf, $str)   X-Ref
Ensures that embeded CDEnd strings (]]&gt;) are handled properly
within message, NDC and throwable tag text.

param: string $buf    String holding the XML data to this point.  The
param: string &str    The String that is inserted into an existing



Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7