4.2 Data Sanitization
The CakePHP Sanitize class can be used to rid user-submitted data of malicious data and other unwanted information. Sanitize is a core library, so it can be used anywhere inside of your code, but is probably best used in controllers or models.
All you need to do is include the Sanitize core library:
App::import('Sanitize'); App::import('Sanitize');
Once you've done that, you can make calls to Sanitize statically.
See comments for this section
