API17

JDocument::setMimeEncoding: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
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.  


{{Description:JDocument::setMimeEncoding}}
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDocument::setMimeEncoding|Edit Descripton]]<nowiki>]</nowiki>
</span>
===Synopsis===
<source lang="php">
<source lang="php">
public JDocument->setMimeEncoding ($type= 'text/html', $sync=true)
public function setMimeEncoding (
        $type= 'text/html'
        $sync=true
)
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 30: Line 30:
|-
|-
|}
|}
===Returns===
* '''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]]


===Defined in===
 
libraries/joomla/document/document.php
===User contributed notes===
===Referenced by===
=== Code Examples ===
===See also===
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[SeeAlso:JDocument::setMimeEncoding|Edit See Also]]<nowiki>]</nowiki>
</span>
* [[JDocument/11.1|JDocument]]
* [[JDocument::setMimeEncoding|Other versions of this method]]
{{SeeAlso:JDocument::setMimeEncoding}}
===Examples===
<CodeExamplesForm />
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDocument::setMimeEncoding
category=JDocument::setMimeEncoding
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*
namespace=CodeExample
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JDocument]][[Category:JDocument::setMimeEncoding]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 02:52, 25 March 2017

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


User contributed notes

Code Examples