Brita
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:CakePHP HTML Purifier Component
Brita component with HTML Purifier
==================================

Created by [debuggeddesigns](http://bakery.cakephp.org/users/view/debuggeddesigns) published in the CakePHP Bakery: [Brita component with HTML Purifier](http://bakery.cakephp.org/articles/debuggeddesigns/2008/11/04/brita-component-with-html-purifier "Brita component with HTML Purifier | The Bakery, Everything CakePHP").

Brita is a CakePHP Component wrapper class created to take advantage of the functionality provided by HTML Purifier. HTML Purifier is a standards-compliant HTML filter library written in PHP. HTML Purifier will not only remove all malicious code (better known as XSS) with a thoroughly audited, secure yet permissive whitelist, it will also make sure your documents are standards compliant, something only achievable with a comprehensive knowledge of W3C's specifications.

Makes use of [HTML Purifier](http://htmlpurifier.org/download.html).

Installation and Usage:
-------------

1. Clone or download and decompress repository into `app/vendors/brita`.
1. Import the `Brita` component in your controller.

	```php
	
	```	

1. Use the component clean method to purify content.

	```php
	Brita->purify($dirty_content);
	?>
	```

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。