class SimplePie_Content_Type_Sniffer


Located at : UKNOWVA_ROOT/libraries/simplepie/simplepie.php

Content-type sniffing

Properties

SimplePie_File $file File object

Methods

SimplePie_Content_Type_Sniffer(SimplePie_Content_Type_Sniffer $file)

Create an instance of the class with the input file

string
get_type()

Get the Content-Type of the specified file

string
text_or_binary()

Sniff text or binary

string
unknown()

Sniff unknown

string
image()

Sniff images

string
feed_or_html()

Sniff HTML

Details

at line 13479
SimplePie_Content_Type_Sniffer(SimplePie_Content_Type_Sniffer $file)

Create an instance of the class with the input file

Parameters

SimplePie_Content_Type_Sniffer $file Input file

at line 13490
string get_type()

Get the Content-Type of the specified file

Return Value

string Actual Content-Type

at line 13555
string text_or_binary()

Sniff text or binary

Return Value

string Actual Content-Type

at line 13580
string unknown()

Sniff unknown

Return Value

string Actual Content-Type

at line 13626
string image()

Sniff images

Return Value

string Actual Content-Type

at line 13657
string feed_or_html()

Sniff HTML

Return Value

string Actual Content-Type