API17

Difference between revisions of "JDocument::setType"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (→‎See also: moving preparation)
(4 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JDocument::setType|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JDocument::setType|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JDocument->setType ($type)
+
public function setType ($type)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 25: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 281 of libraries/joomla/document/document.php
===Defined in===
 
libraries/joomla/document/document.php
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JDocument::setType source code''' on [[jplatform:document/document.php#cl-273|BitBucket]]
 +
* {{JVer|11.1}} Class [[API17:JDocument|JDocument]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Document|Document]]
 +
* [[API17:JDocument::setType|Other versions of JDocument::setType]]
 +
{{SeeAlso:JDocument::setType}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDocument::setType|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JDocument::setType|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JDocument/11.1|JDocument]]
+
===User contributed notes===
* [[JDocument::setType|Other versions of this method]]
 
{{SeeAlso:JDocument::setType}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 45: Line 43:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JDocument]][[Category:JDocument::setType]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 20:28, 11 May 2013

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JDocument::setType[edit]

Description[edit]

Set the document type.

Template:Description:JDocument::setType [Edit Descripton]

public function setType ($type)
Parameter Type Default Description
$type string
  • Returns
  • Defined on line 281 of libraries/joomla/document/document.php

See also[edit]

Template:SeeAlso:JDocument::setType [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />