API15

JURI/setFragment

From Joomla! Documentation

< API15:JURI
Revision as of 17:20, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Set the URI anchor string everything after the "#" <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JURI/setFragment|Edit Descripton...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "API15" 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]

Set the URI anchor string everything after the "#"

[Edit Descripton]

Template:Description:JURI/setFragment

Syntax[edit]

setFragment($anchor)
Parameter Name Default Value Description
$anchor $anchor The URI anchor string

Defined in[edit]

libraries/joomla/environment/uri.php

Importing[edit]

jimport( 'joomla.environment.uri' );

Source Body[edit]

function setFragment($anchor) {
        $this->_fragment = $anchor;
}

[Edit See Also] Template:SeeAlso:JURI/setFragment

Examples[edit]

<CodeExamplesForm />