API17:JBrowser::isViewable
From Joomla! Documentation
JBrowser::isViewable
Description
Determines if a browser can display a given MIME type.
public function isViewable ($mimetype)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $mimetype | string | The MIME type to check. |
- Returns boolean True if the browser can display the MIME type.
- Defined on line 776 of libraries/joomla/environment/browser.php
See also
JBrowser::isViewable source code on BitBucket
Class JBrowser
Subpackage Environment- Other versions of JBrowser::isViewable
User contributed notes
Code Examples