Class JFilterOutput

Description

JFilterOutput

Located in /Servers/Apache_2_2/htdocs/Joomla15/libraries/joomla/filter/filteroutput.php (line 24)


	
			
Method Summary
static void ampReplace ( $text)
static string linkXHTMLSafe (string $input)
static void objectHTMLSafe (object An &$mixed, [int $quote_style = ENT_QUOTES], [string|array $exclude_keys = ''])
static string stringURLSafe ( $string, string $input)
static string _ampReplaceCallback (string $m)
void cleanText ( &$text)
Methods
static ampReplace (line 107)

Replaces & with & for xhtml compliance

  • todo: There must be a better way???
  • since: 1.5
static void ampReplace ( $text)
  • $text
static linkXHTMLSafe (line 68)

This method processes a string and replaces all instances of & with & in links only

  • return: Processed string
  • since: 1.5
static string linkXHTMLSafe (string $input)
  • string $input: String to process
static objectHTMLSafe (line 39)

Makes an object safe to display in forms

Object parameters that are non-string, array, object or start with underscore will be converted

  • since: 1.5
static void objectHTMLSafe (object An &$mixed, [int $quote_style = ENT_QUOTES], [string|array $exclude_keys = ''])
  • object An &$mixed: object to be parsed
  • int $quote_style: The optional quote style for the htmlspecialchars function
  • string|array $exclude_keys: An optional single field name or array of field names not to be parsed (eg, for a textarea)
static stringURLSafe (line 83)

This method processes a string and replaces all accented UTF-8 characters by unaccented ASCII-7 "equivalents", whitespaces are replaced by hyphens and the string is lowercased.

  • return: Processed string
  • since: 1.5
static string stringURLSafe ( $string, string $input)
  • string $input: String to process
  • $string
static _ampReplaceCallback (line 127)

Callback method for replacing & with & in a string

  • return: Replaced string
  • since: 1.5
static string _ampReplaceCallback (string $m)
  • string $m: String to process
cleanText (line 136)

Cleans text of all formating and scripting code

void cleanText ( &$text)
  • &$text

Documentation generated on Sun, 06 Apr 2008 07:13:47 +0200 by phpDocumentor 1.4.0a2