JBrowser::isViewable
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JBrowser::isViewable[edit]
Description[edit]
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[edit]
- JBrowser::isViewable source code on BitBucket
- Class JBrowser
- Subpackage Environment
- Other versions of JBrowser::isViewable
User contributed notes[edit]
Code Examples[edit]