Class SimplePie_Content_Type_Sniffer

Description

Content-type sniffing

Located in /libraries/simplepie/simplepie.php (line 13463)


	
			
Variable Summary
Method Summary
SimplePie_Content_Type_Sniffer SimplePie_Content_Type_Sniffer (SimplePie_Content_Type_Sniffer $file)
string feed_or_html ()
string get_type ()
string image ()
string text_or_binary ()
string unknown ()
Variables
SimplePie_File $file (line 13471)

File object

  • access: private
Methods
Constructor SimplePie_Content_Type_Sniffer (line 13479)

Create an instance of the class with the input file

  • access: public
SimplePie_Content_Type_Sniffer SimplePie_Content_Type_Sniffer (SimplePie_Content_Type_Sniffer $file)
feed_or_html (line 13657)

Sniff HTML

  • return: Actual Content-Type
  • access: private
string feed_or_html ()
get_type (line 13490)

Get the Content-Type of the specified file

  • return: Actual Content-Type
  • access: public
string get_type ()
image (line 13626)

Sniff images

  • return: Actual Content-Type
  • access: private
string image ()
text_or_binary (line 13555)

Sniff text or binary

  • return: Actual Content-Type
  • access: private
string text_or_binary ()
unknown (line 13580)

Sniff unknown

  • return: Actual Content-Type
  • access: private
string unknown ()

Documentation generated on Mon, 25 Jun 2012 13:59:34 -0500 by phpDocumentor 1.4.4