Sanitizer

Filepath: phork/php/utilities/Sanitizer.class.php

The Sanitizer class is used to sanitize data from untrusted sources (eg. GET and POST). It's used in the CoreModel class.


Example

$strFoo = Sanitize::sanitizeItem($_POST['foo']);
$arrFoobar = Sanitize::sanitizeArray($arrFoobar);