public function sanitize($data, $type, $base = '')
	{
		try
		{
			return $this->sanitize->sanitize($data, $type, $base);
		}
		catch (SimplePie_Exception $e)
		{
			if (!$this->enable_exceptions)
			{
				$this->error = $e->getMessage();
				$this->registry->call('Misc', 'error', array($this->error, E_USER_WARNING, $e->getFile(), $e->getLine()));
				return '';
			}

			throw $e;
		}
	}
public function sanitize($data, $type, $base = '')
	{
		try
		{
			return $this->sanitize->sanitize($data, $type, $base);
		}
		catch (SimplePie_Exception $e)
		{
			if (!$this->enable_exceptions)
			{
				$this->error = $e->getMessage();
				$this->registry->call('Misc', 'error', array($this->error, E_USER_WARNING, $e->getFile(), $e->getLine()));
				return '';
			}

			throw $e;
		}
	}
public function sanitize ( $ data , $ type , $ base = '' ) { try { return $ this -> sanitize -> sanitize ( $ data , $ type , $ base ) ; } catch ( SimplePie_Exception $ e ) { if ( ! $ this -> enable_exceptions ) { $ this -> error = $ e -> getMessage ( ) ; $ this -> registry -> call ( 'Misc' , 'error' , array ( $ this -> error , E_USER_WARNING , $ e -> getFile ( ) , $ e -> getLine ( ) ) ) ; return '' ; } throw $ e ; } }
Sanitize feed data

@access private
@see SimplePie_Sanitize::sanitize()
@param string $data Data to sanitize
@param int $type One of the SIMPLEPIE_CONSTRUCT_* constants
@param string $base Base URL to resolve URLs against
@return string Sanitized data
Sanitize feed data