SimplePie_Misc
class SimplePie_Misc
Methods
No description
No description
No description
No description
No description
No description
If a file has been cached, retrieve and display it.
No description
No description
No description
No description
No description
Remove bad UTF-8 bytes
Converts a Windows-1252 encoded string to a UTF-8 encoded string
No description
No description
No description
No description
Strip HTML comments
No description
Decode HTML entities
Remove RFC822 comments
No description
No description
No description
No description
No description
No description
No description
No description
Converts a unicode codepoint to a UTF-8 character
Re-implementation of PHP 5's stripos()
Similar to parse_str()
Detect XML encoding, as per XML 1.0 Appendix F.1
No description
Details
at line 9073
time_hms($seconds)
at line 9101
absolutize_url($relative, $base)
at line 9107
remove_dot_segments($input)
at line 9161
get_element($realname, $string)
at line 9198
element_implode($element)
at line 9217
error($message, $level, $file, $line)
at line 9263
display_cached_file(str $identifier_url, str $cache_location = './cache', str $cache_extension = 'spc', str $cache_class = 'SimplePie_Cache', str $cache_name_function = 'md5')
If a file has been cached, retrieve and display it.
This is most useful for caching images (get_favicon(), etc.), however it works for all cached files. This WILL NOT display ANY file/image/page/whatever, but rather only display what has already been cached by SimplePie.
at line 9285
fix_protocol($url, $http = 1)
at line 9317
parse_url($url)
at line 9329
compress_parse_url($scheme = '', $authority = '', $path = '', $query = '', $fragment = '')
at line 9340
normalize_url($url)
at line 9346
percent_encoding_normalization($match)
at line 9370
string
utf8_bad_replace(string $str)
Remove bad UTF-8 bytes
PCRE Pattern to locate bad bytes in a UTF-8 string comes from W3C FAQ: Multilingual Forms (modified to include full ASCII range)
at line 9402
string
windows_1252_to_utf8(string $string)
Converts a Windows-1252 encoded string to a UTF-8 encoded string
at line 9409
change_encoding($data, $input, $output)
at line 9450
encoding($charset)
at line 10766
get_curl_version()
at line 10787
is_subclass_of($class1, $class2)
at line 10828
string
strip_comments(string $data)
Strip HTML comments
at line 10846
parse_date($dt)
at line 10860
string
entities_decode(string $data)
Decode HTML entities
at line 10873
string
uncomment_rfc822($string)
Remove RFC822 comments
at line 10927
parse_mime($mime)
at line 10939
htmlspecialchars_decode($string, $quote_style)
at line 10951
atom_03_construct_type($attribs)
at line 10987
atom_10_construct_type($attribs)
at line 11009
atom_10_content_construct_type($attribs)
at line 11040
is_isegment_nz_nc($string)
at line 11045
space_seperated_tokens($string)
at line 11064
array_unique($array)
at line 11114
string
codepoint_to_utf8(int $codepoint)
Converts a unicode codepoint to a UTF-8 character
at line 11161
bool
stripos(object $haystack, string $needle, int $offset)
Re-implementation of PHP 5's stripos()
Returns the numeric position of the first occurrence of needle in the haystack string.
at line 11198
array
parse_str(string $str)
Similar to parse_str()
Returns an associative array of name/value pairs, where the value is an array of values that have used the same name
at line 11226
array
xml_encoding(string $data)
Detect XML encoding, as per XML 1.0 Appendix F.1