SimplePie_Content_Type_Sniffer
Content-type sniffing
- Full name:
\SimplePie_Content_Type_Sniffer
- Parent class:
\SimplePie\Content\Type\Sniffer
- Warning: this class is deprecated. This means that this class will likely be removed in a future version.
Inherited methods
__construct
Create an instance of the class with the input file
Parameters:
Parameter | Type | Description |
---|---|---|
$file |
\SimplePie\Content\Type\Sniffer | Input file |
get_type
Get the Content-Type of the specified file
Return Value:
Actual Content-Type
text_or_binary
Sniff text or binary
Return Value:
Actual Content-Type
unknown
Sniff unknown
Return Value:
Actual Content-Type
image
Sniff images
Return Value:
Actual Content-Type
feed_or_html
Sniff HTML
Return Value:
Actual Content-Type
Automatically generated on 2025-03-18