API16

JDocument/setLink

From Joomla! Documentation

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

The "API16" 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.

Description[edit]

Sets the document link

[Edit Descripton]

Template:Description:JDocument/setLink

Syntax[edit]

setLink($url)
Parameter Name Default Value Description
$url $url A url public

Returns[edit]

void

Defined in[edit]

libraries/joomla/document/document.php

Importing[edit]

jimport( 'joomla.document.document' );

Source Body[edit]

function setLink($url) {
        $this->link = $url;
}

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

Examples[edit]

<CodeExamplesForm />