SimplePie_Misc
Located in /simplepie/simplepie.php (line 9071)
SimplePie_Misc
void
compress_parse_url
([ $scheme = ''], [ $authority = ''], [ $path = ''], [ $query = ''], [ $fragment = ''])
void
display_cached_file
(str $identifier_url, [str $cache_location = './cache'], [str $cache_extension = 'spc'], [str $cache_class = 'SimplePie_Cache'], [str $cache_name_function = 'md5'])
- $attribs
Converts a unicode codepoint to a UTF-8 character
- int $codepoint: Unicode codepoint
- $scheme
- $authority
- $path
- $query
- $fragment
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.
- str $identifier_url: URL that is used to identify the content. This may or may not be the actual URL of the live content.
- str $cache_location: Location of SimplePie's cache. Defaults to './cache'.
- str $cache_extension: The file extension that the file was cached with. Defaults to 'spc'.
- str $cache_class: Name of the cache-handling class being used in SimplePie. Defaults to 'SimplePie_Cache', and should be left as-is unless you've overloaded the class.
- str $cache_name_function: Obsolete. Exists for backwards compatibility reasons only.
Decode HTML entities
- string $data: Input data
- $string
- $quote_style
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
- string $str: The input string.
Re-implementation of PHP 5's stripos()
Returns the numeric position of the first occurrence of needle in the haystack string.
- object $haystack
- string $needle: Note that the needle may be a string of one or more characters. If needle is not a string, it is converted to an integer and applied as the ordinal value of a character.
- int $offset: The optional offset parameter allows you to specify which character in haystack to start searching. The position returned is still relative to the beginning of haystack.
Strip HTML comments
- string $data: Data to strip comments from
Remove RFC822 comments
- string $data: Data to strip comments from
- $string
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)
- string $str: String to remove bad UTF-8 bytes from
Converts a Windows-1252 encoded string to a UTF-8 encoded string
- string $string: Windows-1252 encoded string
Detect XML encoding, as per XML 1.0 Appendix F.1
- string $data: XML data
Documentation generated on Sat, 14 Nov 2009 11:20:28 +0000 by phpDocumentor 1.3.1



SimplePie_Misc
static