Class LoggerTransform

Description

Utility class for transforming strings.

Utility class for transforming strings.

  • since: 0.7
  • author: VxR <mailto:vxr@vxr.it>
  • log4j-class: org.apache.log4j.helpers.Transform

Located in Program_Root/log4php/helpers/LoggerTransform.php (line 44)


	
			
Method Summary
void appendEscapingCDATA (string &$buf, string $str)
string escapeTags (string $input)
Methods
appendEscapingCDATA (line 82)

Ensures that embeded CDEnd strings (]]&gt;) are handled properly within message, NDC and throwable tag text.

Ensures that embeded CDEnd strings (]]&gt;) are handled properly within message, NDC and throwable tag text.

  • static:
void appendEscapingCDATA (string &$buf, string $str)
  • string $buf: String holding the XML data to this point. The initial CDStart (<![CDATA[) and final CDEnd (]]>) of the CDATA section are the responsibility of the calling method.
  • string $str: &str The String that is inserted into an existing CDATA Section within buf.
escapeTags (line 56)

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.

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.

  • return: The input string with the characters '&lt;' and '&gt;' replaced with &amp;lt; and &amp;gt; respectively.
  • static:
string escapeTags (string $input)
  • string $input: The text to be converted.

Documentation generated on Tue, 28 Oct 2003 22:04:23 +0100 by phpDocumentor 1.2.2