API17

API17:JBrowser::isViewable

From Joomla! Documentation

Joomla 11.1 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


User contributed notes

Code Examples