Liste de tous les membres
Fonctions membres publiques
- remove_div ($enable=true)
- set_image_handler ($page=false)
- pass_cache_data ($enable_cache=true, $cache_location= './cache', $cache_name_function= 'md5', $cache_class= 'SimplePie_Cache')
- pass_file_data ($file_class= 'SimplePie_File', $timeout=10, $useragent= '', $force_fsockopen=false)
- strip_htmltags ($tags=array('base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style'))
- encode_instead_of_strip ($encode=false)
- strip_attributes ($attribs=array('bgsound', 'class', 'expr', 'id', 'style', 'onclick', 'onerror', 'onfinish', 'onmouseover', 'onmouseout', 'onfocus', 'onblur', 'lowsrc', 'dynsrc'))
- strip_comments ($strip=false)
- set_output_encoding ($encoding= 'UTF-8')
- set_url_replacements ($element_attribute=array('a'=> 'href', 'area'=> 'href', 'blockquote'=> 'cite', 'del'=> 'cite', 'form'=> 'action', 'img'=> array('longdesc', 'src'), 'input'=> 'src', 'ins'=> 'cite', 'q'=> 'cite'))
- sanitize ($data, $type, $base= '')
- replace_urls ($data, $tag, $attributes)
- do_strip_htmltags ($match)
Attributs publics
- $base
- $remove_div = true
- $image_handler = ''
- $strip_htmltags = array('base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style')
- $encode_instead_of_strip = false
- $strip_attributes = array('bgsound', 'class', 'expr', 'id', 'style', 'onclick', 'onerror', 'onfinish', 'onmouseover', 'onmouseout', 'onfocus', 'onblur', 'lowsrc', 'dynsrc')
- $strip_comments = false
- $output_encoding = 'UTF-8'
- $enable_cache = true
- $cache_location = './cache'
- $cache_name_function = 'md5'
- $cache_class = 'SimplePie_Cache'
- $file_class = 'SimplePie_File'
- $timeout = 10
- $useragent = ''
- $force_fsockopen = false
- $replace_url_attributes
Description détaillée
Documentation des fonctions membres
SimplePie_Sanitize::do_strip_htmltags |
( |
$ |
match | ) |
|
SimplePie_Sanitize::encode_instead_of_strip |
( |
$ |
encode = false | ) |
|
SimplePie_Sanitize::pass_cache_data |
( |
$ |
enable_cache = true , |
|
|
$ |
cache_location = './cache' , |
|
|
$ |
cache_name_function = 'md5' , |
|
|
$ |
cache_class = 'SimplePie_Cache' |
|
) |
| |
SimplePie_Sanitize::pass_file_data |
( |
$ |
file_class = 'SimplePie_File' , |
|
|
$ |
timeout = 10 , |
|
|
$ |
useragent = '' , |
|
|
$ |
force_fsockopen = false |
|
) |
| |
SimplePie_Sanitize::remove_div |
( |
$ |
enable = true | ) |
|
SimplePie_Sanitize::replace_urls |
( |
$ |
data, |
|
|
$ |
tag, |
|
|
$ |
attributes |
|
) |
| |
SimplePie_Sanitize::sanitize |
( |
$ |
data, |
|
|
$ |
type, |
|
|
$ |
base = '' |
|
) |
| |
SimplePie_Sanitize::set_image_handler |
( |
$ |
page = false | ) |
|
SimplePie_Sanitize::set_output_encoding |
( |
$ |
encoding = 'UTF-8' | ) |
|
SimplePie_Sanitize::set_url_replacements |
( |
$ |
element_attribute = array('a' => 'href', 'area' => 'href', 'blockquote' => 'cite', 'del' => 'cite', 'form' => 'action', 'img' => array('longdesc', 'src'), 'input' => 'src', 'ins' => 'cite', 'q' => 'cite') | ) |
|
Set element/attribute key/value pairs of HTML attributes containing URLs that need to be resolved relative to the feed
public
- Depuis:
- 1.0
- Paramètres:
-
array | $element_attribute | Element/attribute key/value pairs |
array Stores the default attributes to be stripped by SimplePie::strip_attributes |
( |
$ |
attribs = array('bgsound', 'class', 'expr', 'id', 'style', 'onclick', 'onerror', 'onfinish', 'onmouseover', 'onmouseout', 'onfocus', 'onblur', 'lowsrc', 'dynsrc') | ) |
|
SimplePie_Sanitize::strip_comments |
( |
$ |
strip = false | ) |
|
array Stores the default tags to be stripped by SimplePie::strip_htmltags |
( |
$ |
tags = array('base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style') | ) |
|
Documentation des données membres
SimplePie_Sanitize::$base |
SimplePie_Sanitize::$cache_location = './cache' |
SimplePie_Sanitize::$cache_name_function = 'md5' |
SimplePie_Sanitize::$enable_cache = true |
SimplePie_Sanitize::$encode_instead_of_strip = false |
SimplePie_Sanitize::$force_fsockopen = false |
SimplePie_Sanitize::$image_handler = '' |
SimplePie_Sanitize::$output_encoding = 'UTF-8' |
SimplePie_Sanitize::$remove_div = true |
SimplePie_Sanitize::$replace_url_attributes |
Valeur initiale : array(
'a' => 'href',
'area' => 'href',
'blockquote' => 'cite',
'del' => 'cite',
'form' => 'action',
'img' => array('longdesc', 'src'),
'input' => 'src',
'ins' => 'cite',
'q' => 'cite'
)
SimplePie_Sanitize::$strip_attributes = array('bgsound', 'class', 'expr', 'id', 'style', 'onclick', 'onerror', 'onfinish', 'onmouseover', 'onmouseout', 'onfocus', 'onblur', 'lowsrc', 'dynsrc') |
SimplePie_Sanitize::$strip_comments = false |
SimplePie_Sanitize::$strip_htmltags = array('base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style') |
SimplePie_Sanitize::$timeout = 10 |
SimplePie_Sanitize::$useragent = '' |
La documentation de cette classe a été générée à partir du fichier suivant :