JDocument::setMimeEncoding: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
Layout updates |
||
| Line 10: | Line 10: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
public | public JDocument::setMimeEncoding ($type= 'text/html', $sync=true) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 33: | Line 33: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/document/document.php | libraries/joomla/document/document.php (line 684) | ||
* see source code in [[jplatform:document/document.php#cl-684|BitBucket]] | |||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 01:21, 24 April 2011
JDocument::setMimeEncoding
Description
Sets the document MIME encoding that is sent to the browser.
Template:Description:JDocument::setMimeEncoding [Edit Descripton]
Synopsis
public JDocument::setMimeEncoding ($type= 'text/html', $sync=true)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $type | 'text/html' | ||
| $sync | true |
Returns
Defined in
libraries/joomla/document/document.php (line 684)
- see source code in BitBucket
Referenced by
See also
Template:SeeAlso:JDocument::setMimeEncoding
Examples
<CodeExamplesForm />