public function isType($path, $mimeType)
    {
        $mimeTypes = explode('|', $mimeType);

        return (in_array(self::getType($path), $mimeTypes));
    }
public function isType($path, $mimeType)
    {
        $mimeTypes = explode('|', $mimeType);

        return (in_array(self::getType($path), $mimeTypes));
    }
public function isType ( $ path , $ mimeType ) { $ mimeTypes = explode ( '|' , $ mimeType ) ; return ( in_array ( self :: getType ( $ path ) , $ mimeTypes ) ) ; }
is mime type

@param stirng $path image file path

@return boolean
is mime type