Input::sanitize

Input::sanitize — Sanitizes the specified data.

Description

public mixed Input::sanitize ( string $method, mixed $data [, mixed $options] )

Parameters

  1. method
    A valid Sanitation method.
  2. data
    The data which will be sanitized
  3. options
    Options sent to the sanitation method. Only required in special cases.

Return Values

If $data is not set, NULL will be returned. FALSE is returned on sanitation failure. $data is returned when sanitation is complete.

See Also

input/sanitize.txt · Last modified: 2010/07/21 04:37 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