JDocument::setMimeEncoding: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
Sets the document MIME encoding that is sent to the browser. | Sets the document MIME encoding that is sent to the browser. | ||
<source lang="php"> | <source lang="php"> | ||
public | public function setMimeEncoding ( | ||
$type= 'text/html' | |||
$sync=true | |||
) | |||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 30: | Line 30: | ||
|- | |- | ||
|} | |} | ||
=== | * '''Returns''' | ||
* '''Defined''' on line 641 of libraries/joomla/document/document.php | |||
===See also=== | |||
* {{JVer|11.1}} '''JDocument::setMimeEncoding source code''' on [[jplatform:document/document.php#cl-633|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JDocument|JDocument]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Document|Document]] | |||
* [[API17:JDocument::setMimeEncoding|Other versions of JDocument::setMimeEncoding]] | |||
===User contributed notes=== | |||
=== | === Code Examples === | ||
=== | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDocument::setMimeEncoding | category=JDocument::setMimeEncoding | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:52, 25 March 2017
JDocument::setMimeEncoding
Description
Sets the document MIME encoding that is sent to the browser.
public function setMimeEncoding (
$type= 'text/html'
$sync=true
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $type | 'text/html' | ||
| $sync | true |
- Returns
- Defined on line 641 of libraries/joomla/document/document.php
See also
JDocument::setMimeEncoding source code on BitBucket
Class JDocument
Subpackage Document- Other versions of JDocument::setMimeEncoding
User contributed notes
Code Examples