class SanitizeService (View source)

Methods

string|false
sanitizeString(string|mixed $string)

Remove everything between < and > (or from < to the end of the string).

sanitizeInt($int)

No description

sanitizeURL($url)

No description

sanitizeEmail($email)

No description

Details

string|false sanitizeString(string|mixed $string)

Remove everything between < and > (or from < to the end of the string).

Parameters

string|mixed $string

Return Value

string|false

return false if $string is not a scalar (or not an object with a __toString method), the sanitized string otherwise

sanitizeInt($int)

No description

Parameters

$int

sanitizeURL($url)

No description

Parameters

$url

sanitizeEmail($email)

No description

Parameters

$email