Метод |
Описание |
|
__construct ( ) |
|
|
add_attributes ( $attribs = ['audio' => ['preload' => 'none'], 'iframe' => ['sandbox' => 'allow-scripts allow-same-origin'], 'video' => ['preload' => 'none']] ) |
|
|
do_strip_htmltags ( $match ) |
|
|
encode_instead_of_strip ( $encode = 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 ) |
|
|
remove_div ( $enable = true ) |
|
|
replace_urls ( $document, $tag, $attributes ) |
|
|
sanitize ( $data, $type, $base = '' ) |
|
|
set_image_handler ( $page = false ) |
|
|
set_output_encoding ( $encoding = 'UTF-8' ) |
|
|
set_registry ( SimplePie_Registry $registry ) |
|
|
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 |
|
strip_attributes ( $attribs = ['bgsound', 'expr', 'id', 'style', 'onclick', 'onerror', 'onfinish', 'onmouseover', 'onmouseout', 'onfocus', 'onblur', 'lowsrc', 'dynsrc'] ) |
|
|
strip_comments ( $strip = false ) |
|
|
strip_htmltags ( $tags = ['base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style'] ) |
|
|