original_string: 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;
  		}
  	}
code: 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;
  		}
  	}
code_tokens: 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 ; } }
docstring: 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
docstring_tokens: Sanitize feed data