API15

API15:JURI/setFragment

From Joomla! Documentation

Revision as of 22: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)

Description

Set the URI anchor string everything after the "#"

[Edit Descripton]

Template:Description:JURI/setFragment

Syntax

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

Defined in

libraries/joomla/environment/uri.php

Importing

jimport( 'joomla.environment.uri' );

Source Body

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

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

Examples

<CodeExamplesForm />