Свойство | Тип | Описание | |
---|---|---|---|
$file | SimplePie_File | File object |
Метод | Описание | |
---|---|---|
SimplePie_Content_Type_Sniffer ( SimplePie_Content_Type_Sniffer $file ) | Create an instance of the class with the input file | |
feed_or_html ( ) : string | Sniff HTML | |
get_type ( ) : string | Get the Content-Type of the specified file | |
image ( ) : string | Sniff images | |
text_or_binary ( ) : string | Sniff text or binary | |
unknown ( ) : string | Sniff unknown |
public SimplePie_Content_Type_Sniffer ( SimplePie_Content_Type_Sniffer $file ) | ||
$file | SimplePie_Content_Type_Sniffer | Input file |
public feed_or_html ( ) : string | ||
Результат | string | Actual Content-Type |
public text_or_binary ( ) : string | ||
Результат | string | Actual Content-Type |