API17:JBrowser::isViewable
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JBrowser::isViewable
Description
Determines if a browser can display a given MIME type.
Description:JBrowser::isViewable [Edit Descripton]
Synopsis
public JBrowser::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 in
libraries/joomla/environment/browser.php (line 776)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
