Class SimplePie_Sanitize
Used for data cleanup and post-processing
This class can be overloaded with SimplePie::set_sanitize_class()
Package: SimplePie
Copyright: 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
License: BSD License
Author: Ryan Parman
Author: Geoffrey Sneddon
Author: Ryan McCue
Located at vendor/simplepie/simplepie/library/SimplePie/Sanitize.php
Copyright: 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
License: BSD License
Author: Ryan Parman
Author: Geoffrey Sneddon
Author: Ryan McCue
Located at vendor/simplepie/simplepie/library/SimplePie/Sanitize.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
pass_cache_data( mixed $enable_cache = true, mixed $cache_location = './cache', mixed $cache_name_function = 'md5', mixed $cache_class = 'SimplePie_Cache' )
|
public
|
#
pass_file_data( mixed $file_class = 'SimplePie_File', mixed $timeout = 10, mixed $useragent = '', mixed $force_fsockopen = false )
|
public
|
#
strip_htmltags( mixed $tags = array('base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style') )
|
public
|
|
public
|
#
strip_attributes( mixed $attribs = array('bgsound', 'class', 'expr', 'id', 'style', 'onclick', 'onerror', 'onfinish', 'onmouseover', 'onmouseout', 'onfocus', 'onblur', 'lowsrc', 'dynsrc') )
|
public
|
|
public
|
|
public
|
#
set_url_replacements( array|null $element_attribute = null )
Set element/attribute key/value pairs of HTML attributes containing URLs that need to be resolved relative to the feed |
public
|
|
protected
|
|
public
|
|
public
|
|
protected
|
|
protected
|
Magic methods summary
Properties summary
public
mixed
|
$base | |
public
boolean
|
$remove_div | |
public
string
|
$image_handler | |
public
array
|
$strip_htmltags | |
public
boolean
|
$encode_instead_of_strip | |
public
array
|
$strip_attributes | |
public
boolean
|
$strip_comments | |
public
string
|
$output_encoding | |
public
boolean
|
$enable_cache | |
public
string
|
$cache_location | |
public
string
|
$cache_name_function | |
public
integer
|
$timeout | |
public
string
|
$useragent | |
public
boolean
|
$force_fsockopen | |
public
mixed
|
$replace_url_attributes |