API15

API15:JDocument/setType

From Joomla! Documentation

Revision as of 22:17, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Set the document type <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Set the document type

[Edit Descripton]

Template:Description:JDocument/setType

Syntax

setType($type)
Parameter Name Default Value Description
$type $type

Defined in

libraries/joomla/document/document.php

Importing

jimport( 'joomla.document.document' );

Source Body

function setType($type) {
        $this->_type = $type;
}

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

Examples

<CodeExamplesForm />