Moodle  2.2.1
http://www.collinsharper.com
SimplePie_Misc Class Reference

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

static absolutize_url ( relative,
base 
) [static]

Definition at line 8733 of file simplepie.class.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static array_unique ( array) [static]

Definition at line 10642 of file simplepie.class.php.

Here is the caller graph for this function:

static atom_03_construct_type ( attribs) [static]

Definition at line 10529 of file simplepie.class.php.

Here is the caller graph for this function:

static atom_10_construct_type ( attribs) [static]

Definition at line 10565 of file simplepie.class.php.

Here is the caller graph for this function:

static atom_10_content_construct_type ( attribs) [static]

Definition at line 10587 of file simplepie.class.php.

Here is the caller graph for this function:

static change_encoding ( data,
input,
output 
) [static]

Definition at line 8979 of file simplepie.class.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static codepoint_to_utf8 ( codepoint) [static]

Converts a unicode codepoint to a UTF-8 character

public

Parameters:
int$codepointUnicode codepoint
Returns:
string UTF-8 character

Definition at line 10692 of file simplepie.class.php.

Here is the caller graph for this function:

static compress_parse_url ( scheme = '',
authority = '',
path = '',
query = '',
fragment = '' 
) [static]

Definition at line 8934 of file simplepie.class.php.

Here is the caller graph for this function:

static element_implode ( element) [static]

Definition at line 8830 of file simplepie.class.php.

Here is the caller graph for this function:

static encoding ( charset) [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$charsetCharacter set to standardise
Returns:
string Standardised name

Definition at line 9031 of file simplepie.class.php.

Here is the caller graph for this function:

static entities_decode ( data) [static]

Decode HTML entities

public

Parameters:
string$dataInput data
Returns:
string Output data

Definition at line 10438 of file simplepie.class.php.

Here is the caller graph for this function:

static error ( message,
level,
file,
line 
) [static]

Definition at line 8849 of file simplepie.class.php.

static fix_protocol ( url,
http = 1 
) [static]

Definition at line 8890 of file simplepie.class.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static get_curl_version ( ) [static]

Definition at line 10344 of file simplepie.class.php.

Here is the caller graph for this function:

static get_element ( realname,
string 
) [static]

Definition at line 8793 of file simplepie.class.php.

Here is the call graph for this function:

Here is the caller graph for this function:

static htmlspecialchars_decode ( string,
quote_style 
) [static]

Definition at line 10517 of file simplepie.class.php.

static is_isegment_nz_nc ( string) [static]

Definition at line 10618 of file simplepie.class.php.

Here is the caller graph for this function:

static is_subclass_of ( class1,
class2 
) [static]

Definition at line 10365 of file simplepie.class.php.

Here is the caller graph for this function:

static normalize_url ( url) [static]

Definition at line 8945 of file simplepie.class.php.

Here is the caller graph for this function:

static output_javascript ( ) [static]

Definition at line 10861 of file simplepie.class.php.

Here is the caller graph for this function:

static parse_date ( dt) [static]

Definition at line 10424 of file simplepie.class.php.

Here is the call graph for this function:

static parse_mime ( mime) [static]

Definition at line 10505 of file simplepie.class.php.

Here is the caller graph for this function:

static parse_str ( str) [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$strThe input string.
Returns:
array

Definition at line 10733 of file simplepie.class.php.

Here is the caller graph for this function:

static parse_url ( url) [static]

Definition at line 8922 of file simplepie.class.php.

Here is the caller graph for this function:

static percent_encoding_normalization ( match) [static]

Definition at line 8951 of file simplepie.class.php.

static remove_dot_segments ( input) [static]

Definition at line 8739 of file simplepie.class.php.

static space_seperated_tokens ( string) [static]

Definition at line 10623 of file simplepie.class.php.

Here is the caller graph for this function:

static strip_comments ( data) [static]

Strip HTML comments

public

Parameters:
string$dataData to strip comments from
Returns:
string Comment stripped string

Definition at line 10406 of file simplepie.class.php.

Here is the caller graph for this function:

static time_hms ( seconds) [static]

Definition at line 8705 of file simplepie.class.php.

Here is the caller graph for this function:

static uncomment_rfc822 ( string) [static]

Remove RFC822 comments

public

Parameters:
string$dataData to strip comments from
Returns:
string Comment stripped string

Definition at line 10451 of file simplepie.class.php.

static windows_1252_to_utf8 ( string) [static]

Converts a Windows-1252 encoded string to a UTF-8 encoded string

public

Parameters:
string$stringWindows-1252 encoded string
Returns:
string UTF-8 encoded string

Definition at line 8972 of file simplepie.class.php.

Here is the caller graph for this function:

static xml_encoding ( data) [static]

Detect XML encoding, as per XML 1.0 Appendix F.1

Todo:
Add support for EBCDIC
Parameters:
string$dataXML data
Returns:
array Possible encodings

Definition at line 10761 of file simplepie.class.php.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations