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

Public Member Functions

 __construct ($file)
 get_type ()
 text_or_binary ()
 unknown ()
 image ()
 feed_or_html ()

Data Fields

 $file

Detailed Description

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


Constructor & Destructor Documentation

__construct ( file)

Create an instance of the class with the input file

public

Parameters:
SimplePie_Content_Type_Sniffer$fileInput file

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


Member Function Documentation

Sniff HTML

private

Returns:
string Actual Content-Type

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

get_type ( )

Get the Content-Type of the specified file

public

Returns:
string Actual Content-Type

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

image ( )

Sniff images

private

Returns:
string Actual Content-Type

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

Sniff text or binary

private

Returns:
string Actual Content-Type

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

unknown ( )

Sniff unknown

private

Returns:
string Actual Content-Type

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


Field Documentation

$file

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


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