TYPO3  7.6
Public Member Functions | List of all members
FileInfo Class Reference
Inheritance diagram for FileInfo:
TypeInterface ImageInfo

Public Member Functions

 getMimeType ()
 
- Public Member Functions inherited from TypeInterface
 __toString ()
 

Detailed Description

A SPL FileInfo class providing general information related to a file.

Definition at line 22 of file FileInfo.php.

Member Function Documentation

getMimeType ( )

Return the mime type of a file.

Returns
string|bool Returns the mime type or FALSE if the mime type could not be discovered

Definition at line 29 of file FileInfo.php.

References $GLOBALS, and elseif.

Referenced by ImageInfo\getImageSizes().