API17

JBrowser::isViewable: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Determines if a browser can display a given MIME type.  
Determines if a browser can display a given MIME type.  


{{subst:Description:JBrowser::isViewable}}
 


<source lang="php">
<source lang="php">
Line 29: Line 29:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]]
* [[API17:JBrowser::isViewable|Other versions of JBrowser::isViewable]]
* [[API17:JBrowser::isViewable|Other versions of JBrowser::isViewable]]
{{subst:SeeAlso:JBrowser::isViewable}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JBrowser::isViewable
category=JBrowser::isViewable
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 02:22, 25 March 2017

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