WPDev.one
Core Class

Sanitize

class Sanitize // Constructor: function Object() { [native code] }

Used for data cleanup and post-processing

Methods 26 methods

Method / Return Description
__construct()
void

No description available.

remove_div()
void

No description available.

Parameters: $enable: mixed
set_image_handler()
void

No description available.

Parameters: $page: mixed
set_registry()
void

No description available.

Parameters: $registry: \SimplePie\Registry
pass_cache_data()
void

No description available.

Parameters: $enable_cache: mixed, $cache_location: mixed, $cache_name_function: mixed, $cache_class: mixed, $cache: ?DataCache
pass_file_data()
void

No description available.

Parameters: $file_class: mixed, $timeout: mixed, $useragent: mixed, $force_fsockopen: mixed
strip_htmltags()
void

No description available.

Parameters: $tags: mixed
encode_instead_of_strip()
void

No description available.

Parameters: $encode: mixed
rename_attributes()
void

No description available.

Parameters: $attribs: mixed
strip_attributes()
void

No description available.

Parameters: $attribs: mixed
add_attributes()
void

No description available.

Parameters: $attribs: mixed
strip_comments()
void

No description available.

Parameters: $strip: mixed
set_output_encoding()
void

No description available.

Parameters: $encoding: mixed
set_url_replacements()
void

Set element/attribute key/value pairs of HTML attributes

Parameters: $element_attribute: mixed
set_https_domains()
void

Set the list of domains for which to force HTTPS.

Parameters: $domains: mixed
is_https_domain()
void

Check if the domain is in the list of forced HTTPS.

Parameters: $domain: mixed
https_url()
void

Force HTTPS for selected Web sites.

Parameters: $url: mixed
sanitize()
void

No description available.

Parameters: $data: mixed, $type: mixed, $base: mixed
preprocess()
void

No description available.

Parameters: $html: mixed, $type: mixed
replace_urls()
void

No description available.

Parameters: $document: mixed, $tag: mixed, $attributes: mixed
do_strip_htmltags()
void

No description available.

Parameters: $match: mixed
strip_tag()
void

No description available.

Parameters: $tag: mixed, $document: mixed, $xpath: mixed, $type: mixed
strip_attr()
void

No description available.

Parameters: $attrib: mixed, $xpath: mixed
rename_attr()
void

No description available.

Parameters: $attrib: mixed, $xpath: mixed
add_attr()
void

No description available.

Parameters: $tag: mixed, $valuePairs: mixed, $document: mixed
get_cache()
DataCache

Get a DataCache

Parameters: $image_url: mixed

Properties

Property / Type Description
$base
mixed
public
No description available.
$remove_div
mixed
public
No description available.
$image_handler
mixed
public
No description available.
$strip_htmltags
mixed
public
No description available.
$encode_instead_of_strip
mixed
public
No description available.
$strip_attributes
mixed
public
No description available.
$rename_attributes
mixed
public
No description available.
$add_attributes
mixed
public
No description available.
$strip_comments
mixed
public
No description available.
$output_encoding
mixed
public
No description available.
$enable_cache
mixed
public
No description available.
$cache_location
mixed
public
No description available.
$cache_name_function
mixed
public
No description available.
$cache_namefilter
mixed
public
No description available.
$timeout
mixed
public
No description available.
$useragent
mixed
public
No description available.
$force_fsockopen
mixed
public
No description available.
$replace_url_attributes
mixed
public
No description available.
$registry
mixed
public
No description available.
$cache
mixed
public
No description available.
$cache_duration
mixed
public
No description available.
$https_domains
mixed
public
No description available.

Class Information

Source File
wp-includes/SimplePie/src/Sanitize.php
Advertisement