framework/web/widgets/CHtmlPurifier.php
public function purify($content)
	{
		if(is_array($content))
			$content=array_map(array($this,'purify'),$content);
		else
			$content=$this->getPurifier()->purify($content);
		return $content;
	}
public function purify($content)
	{
		if(is_array($content))
			$content=array_map(array($this,'purify'),$content);
		else
			$content=$this->getPurifier()->purify($content);
		return $content;
	}
public function purify ( $ content ) { if ( is_array ( $ content ) ) $ content = array_map ( array ( $ this , 'purify' ) , $ content ) ; else $ content = $ this -> getPurifier ( ) -> purify ( $ content ) ; return $ content ; }
Purifies the HTML content by removing malicious code.
@param mixed $content the content to be purified.
@return mixed the purified content
Purifies the HTML content by removing malicious code .