SimplePie_Item::sanitize
Sanitize feed data
Signature
public function sanitize(string
$data,
int
$type,
[string
$base = ''] )
Parameters
$data
— string- Data to sanitize
$type
— int- One of the SIMPLEPIE_CONSTRUCT_* constants
$base
— string- Base URL to resolve URLs against
Returns
- string
- Sanitized data