Class SimplePie_Misc
Miscellanous utilities
Package: SimplePie
Copyright: 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
License: BSD License
Author: Ryan Parman
Author: Geoffrey Sneddon
Author: Ryan McCue
Located at SimplePie/Misc.php
Copyright: 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
License: BSD License
Author: Ryan Parman
Author: Geoffrey Sneddon
Author: Ryan McCue
Located at SimplePie/Misc.php
public static
|
|
public static
|
|
public static
array
|
#
get_element( string $realname, string $string )
Get a HTML/XML element from a HTML string Deprecated
Use DOMDocument instead (parsing HTML with regex is bad!)
Parameters
Returnsarray |
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
string
|
#
windows_1252_to_utf8( string $string )
Converts a Windows-1252 encoded string to a UTF-8 encoded string Parameters
Returnsstring UTF-8 encoded string |
public static
string|boolean
|
#
change_encoding( string $data, string $input, string $output )
Change a string from one encoding to another Parameters
Returnsstring|boolean False if we can't convert it |
protected static
|
|
protected static
|
|
public static
string
|
|
public static
|
|
public static
string
|
#
strip_comments( string $data )
Strip HTML comments Parameters
Returnsstring Comment stripped string |
public static
|
|
public static
string
|
#
entities_decode( string $data )
Decode HTML entities Deprecated
Use DOMDocument instead
Parameters
Returnsstring Output data |
public static
string
|
#
uncomment_rfc822( string $string )
Remove RFC822 comments Parameters
Returnsstring Comment stripped string |
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
string
|
#
codepoint_to_utf8( integer $codepoint )
Converts a unicode codepoint to a UTF-8 character Parameters
Returnsstring UTF-8 character |
public static
array
|
|
public static
array
|
#
xml_encoding( string $data,
Detect XML encoding, as per XML 1.0 Appendix F.1 Parameters
Returnsarray Possible encodings |
public static
|
|
public static
|
|
public static
|
|
public static
|