API16

API16:JDocumentJSON/setName

From Joomla! Documentation

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

Description

Sets the document name

[Edit Descripton]

Template:Description:JDocumentJSON/setName

Syntax

setName($name= 'joomla')
Parameter Name Default Value Description
$name 'joomla' $name Document name public

Returns

void

Defined in

libraries/joomla/document/json/json.php

Importing

jimport( 'joomla.document.json.json' );

Source Body

public function setName($name = 'joomla') {
        $this->_name = $name;
}

[Edit See Also] Template:SeeAlso:JDocumentJSON/setName

Examples

<CodeExamplesForm />