Actions

API17

Difference between revisions of "JBrowser::isViewable"

From Joomla! Documentation

(Layout updates)
m (See also: moving preparation)
 
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JBrowser::isViewable|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JBrowser::isViewable|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JBrowser::isViewable ($mimetype)
+
public function isViewable ($mimetype)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 25: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean True if the browser can display the MIME type.
boolean True if the browser can display the MIME type.
+
* '''Defined''' on line 776 of libraries/joomla/environment/browser.php
===Defined in===
+
libraries/joomla/environment/browser.php (line 776)
+
* see source code in [[jplatform:environment/browser.php#cl-776|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JBrowser::isViewable source code''' on [[jplatform:environment/browser.php#cl-768|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JBrowser|JBrowser]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Environment|Environment]]
 +
* [[API17:JBrowser::isViewable|Other versions of JBrowser::isViewable]]
 +
{{SeeAlso:JBrowser::isViewable}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JBrowser::isViewable|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JBrowser::isViewable|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JBrowser/11.1|JBrowser]]
+
===User contributed notes===
* [[JBrowser::isViewable|Other versions of this method]]
+
{{SeeAlso:JBrowser::isViewable}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 46: Line 43:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JBrowser]][[Category:JBrowser::isViewable]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 19:46, 11 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 JBrowser::isViewable

Description

Determines if a browser can display a given MIME type.

Description:JBrowser::isViewable [Edit Descripton]

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

SeeAlso:JBrowser::isViewable [Edit See Also]

User contributed notes

<CodeExamplesForm />