API17

JDocument::setCharset: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Sets the document charset.  
Sets the document charset.  


{{subst:Description:JDocument::setCharset}}
 


<source lang="php">
<source lang="php">
Line 29: Line 29:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Document|Document]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Document|Document]]
* [[API17:JDocument::setCharset|Other versions of JDocument::setCharset]]
* [[API17:JDocument::setCharset|Other versions of JDocument::setCharset]]
{{subst:SeeAlso:JDocument::setCharset}}
 


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

Latest revision as of 02:52, 25 March 2017

Joomla 11.1 JDocument::setCharset

Description

Sets the document charset.


public function setCharset ($type= 'utf-8')
Parameter Type Default Description
$type string 'utf-8' Charset encoding string
  • Returns void
  • Defined on line 460 of libraries/joomla/document/document.php

See also


User contributed notes

Code Examples