【文件属性】:
文件名称:php过滤html标记属性类
文件大小:2KB
文件格式:ZIP
更新时间:2016-10-12 19:02:32
php html attribute filter
HTML Attribute Filter
* Func:
* public strip 过滤属性
* public setAllow 设置允许的属性
* public setException 设置特例
* public setIgnore 设置忽略的标记
* private findElements 搜寻需要处理的元素
* private findAttributes 搜寻属性
* private removeAttributes 移除属性
* private isException 判断是否特例
* private createAttributes 创建属性
* private protect 特殊字符转义
【文件预览】:
demo.php
HtmlAttributeFilter.class.php