Static Public Member Functions |
| static | time_hms ($seconds) |
| static | absolutize_url ($relative, $base) |
| static | remove_dot_segments ($input) |
| static | get_element ($realname, $string) |
| static | element_implode ($element) |
| static | error ($message, $level, $file, $line) |
| static | fix_protocol ($url, $http=1) |
| static | parse_url ($url) |
| static | compress_parse_url ($scheme= '', $authority= '', $path= '', $query= '', $fragment= '') |
| static | normalize_url ($url) |
| static | percent_encoding_normalization ($match) |
| static | windows_1252_to_utf8 ($string) |
| static | change_encoding ($data, $input, $output) |
| static | encoding ($charset) |
| static | get_curl_version () |
| static | is_subclass_of ($class1, $class2) |
| static | strip_comments ($data) |
| static | parse_date ($dt) |
| static | entities_decode ($data) |
| static | uncomment_rfc822 ($string) |
| static | parse_mime ($mime) |
| static | htmlspecialchars_decode ($string, $quote_style) |
| static | atom_03_construct_type ($attribs) |
| static | atom_10_construct_type ($attribs) |
| static | atom_10_content_construct_type ($attribs) |
| static | is_isegment_nz_nc ($string) |
| static | space_seperated_tokens ($string) |
| static | array_unique ($array) |
| static | codepoint_to_utf8 ($codepoint) |
| static | parse_str ($str) |
| static | xml_encoding ($data) |
| static | output_javascript () |
Detailed Description
Definition at line 8703 of file simplepie.class.php.
Member Function Documentation
Converts a unicode codepoint to a UTF-8 character
public
- Parameters:
-
| int | $codepoint | Unicode codepoint |
- Returns:
- string UTF-8 character
Definition at line 10692 of file simplepie.class.php.
| static compress_parse_url |
( |
$ |
scheme = '', |
|
|
$ |
authority = '', |
|
|
$ |
path = '', |
|
|
$ |
query = '', |
|
|
$ |
fragment = '' |
|
) |
| [static] |
Normalize an encoding name
This is automatically generated by create.php
To generate it, run `php create.php` on the command line, and copy the output to replace this function.
- Parameters:
-
| string | $charset | Character set to standardise |
- Returns:
- string Standardised name
Definition at line 9031 of file simplepie.class.php.
Decode HTML entities
public
- Parameters:
-
- Returns:
- string Output data
Definition at line 10438 of file simplepie.class.php.
| static error |
( |
$ |
message, |
|
|
$ |
level, |
|
|
$ |
file, |
|
|
$ |
line |
|
) |
| [static] |
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
- Parameters:
-
| string | $str | The input string. |
- Returns:
- array
Definition at line 10733 of file simplepie.class.php.
Strip HTML comments
public
- Parameters:
-
| string | $data | Data to strip comments from |
- Returns:
- string Comment stripped string
Definition at line 10406 of file simplepie.class.php.
Remove RFC822 comments
public
- Parameters:
-
| string | $data | Data to strip comments from |
- Returns:
- string Comment stripped string
Definition at line 10451 of file simplepie.class.php.
Converts a Windows-1252 encoded string to a UTF-8 encoded string
public
- Parameters:
-
| string | $string | Windows-1252 encoded string |
- Returns:
- string UTF-8 encoded string
Definition at line 8972 of file simplepie.class.php.
Detect XML encoding, as per XML 1.0 Appendix F.1
- Todo:
- Add support for EBCDIC
- Parameters:
-
- Returns:
- array Possible encodings
Definition at line 10761 of file simplepie.class.php.
The documentation for this class was generated from the following file: