SimplePie 1.5 is now available!

SimplePie Documentation.  Learn how to use this thing.  It's way better than going to school.

You are here: Documentation » API Reference » SimplePie » set_content_type_sniffer_class()

set_content_type_sniffer_class()

Description

class SimplePie {
	set_content_type_sniffer_class ( [string $class = 'SimplePie_Content_Type_Sniffer'] )
}

Allows you to add new methods or replace existing methods in the SimplePie_Content_Type_Sniffer class.

Learn more about extending classes in PHP:

Availability

  • Available since SimplePie 1.1.

Parameters

class

The new class for SimplePie to use.

See Also


reference/simplepie/set_content_type_sniffer_class.txt · Last modified: 2011/03/06 03:56 (external edit)