FileValidatorImage::getMimeType()
Return image MIME type, blank if unrecognized or false if unable to open file
Usage
$bool = $fileValidatorImage->getMimeType($filename);Arguments
| Name | Type(s) | Description |
|---|---|---|
$filename |
Return value
bool string
FileValidatorImage methods and properties
API reference based on ProcessWire core version 3.0.269