eZPublishCommunityProject  2013.9
eZ\Publish\SPI\IO\MimeTypeDetector Interface Reference
+ Inheritance diagram for eZ\Publish\SPI\IO\MimeTypeDetector:

Public Member Functions

 getFromBuffer ($buffer)
 Returns the MIME type of the data in $buffer. More...
 
 getFromPath ($path)
 Returns the MIME type of the file identified by $path. More...
 

Member Function Documentation

eZ\Publish\SPI\IO\MimeTypeDetector::getFromBuffer (   $buffer)

Returns the MIME type of the data in $buffer.

Parameters
string$buffer
Returns
string

Implemented in eZ\Publish\Core\IO\MimeTypeDetector\FileInfo.

eZ\Publish\SPI\IO\MimeTypeDetector::getFromPath (   $path)

Returns the MIME type of the file identified by $path.

Parameters
string$path
Returns
string

Implemented in eZ\Publish\Core\IO\MimeTypeDetector\FileInfo.


The documentation for this interface was generated from the following file: