API15

API15:JURI/setFragment

From Joomla! Documentation

Revision as of 18:56, 12 May 2013 by JoomlaWikiBot (talk | contribs) (removing red link to edit, no existant pages)

Description

Set the URI anchor string everything after the "#"

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

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;
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

<CodeExamplesForm />