Sanitation::filter

Sanitation::filter — Allows you to filter the data with PHP's filter_var function.

Description

public mixed Sanitation::filter ( string $data, $filter = FILTER_DEFAULT )

Parameters

  1. data
    The data to be sanitized.
  2. filter
    A valid filter. See full list of available filters.

Return Values

Returns the filtered data, or FALSE if the filter fails.

sanitation/filter.txt · Last modified: 2010/07/21 21:46 by davids
Back to top
CC Attribution-Share Alike 3.0 Unported
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0