Class InputFilter

Description

Input filtering functions.

Located in /system/classes/inputfilter.php (line 8)


	
			
Method Summary
static string filter (string $str)
static void filter_html_elements ( $str)
static void glue_url ( $parsed_url)
static void parse_url ( $url)
static void strip_illegal_entities ( $str)
static void strip_nulls ( $str)
static void _validate_entity (array $m)
Methods
static method filter (line 134)

Perform all filtering, return new string.

  • return: Filtered output string.
  • access: public
static string filter (string $str)
  • string $str: Input string.
static method filter_html_elements (line 393)
  • todo: TODO properly filter URLs
  • todo: TODO must build DOM to really properly remove offending elements
  • access: public
static void filter_html_elements ( $str)
  • $str
static method glue_url (line 297)
  • access: public
static void glue_url ( $parsed_url)
  • $parsed_url
static method parse_url (line 218)

This really doesn't belong here. It should also be done much better. This is a nasty, NASTY kludge.

  • access: public
static void parse_url ( $url)
  • $url
static method strip_illegal_entities (line 208)
  • access: public
static void strip_illegal_entities ( $str)
  • $str
static method strip_nulls (line 143)
  • access: public
static void strip_nulls ( $str)
  • $str
static method _validate_entity (line 155)

Callback function for strip_illegal_entities, do not use.

  • access: public
static void _validate_entity (array $m)
  • array $m: matches

Documentation generated on Thu, 30 Oct 2008 20:31:19 +0100 by phpDocumentor 1.3.2