<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docs.joomla.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docs.joomla.org/index.php?title=JURI/setFragment&amp;feed=atom&amp;action=history</id>
		<title>JURI/setFragment - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.joomla.org/index.php?title=JURI/setFragment&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=JURI/setFragment&amp;action=history"/>
		<updated>2013-05-23T00:14:11Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.3</generator>

	<entry>
		<id>http://docs.joomla.org/index.php?title=JURI/setFragment&amp;diff=70860&amp;oldid=prev</id>
		<title>JoomlaWikiBot: /* See also */re-categorisation</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=JURI/setFragment&amp;diff=70860&amp;oldid=prev"/>
				<updated>2012-08-09T16:35:57Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;See also: &lt;/span&gt;re-categorisation&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:35, 9 August 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [http://api.joomla.org/Joomla-Framework/Environment/JURI.html#setFragment JURI-&amp;gt;setFragment on api.joomla.org]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [http://api.joomla.org/Joomla-Framework/Environment/JURI.html#setFragment JURI-&amp;gt;setFragment on api.joomla.org]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[JURI/getFragment|JURI-&amp;gt;getFragment]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* [[JURI/getFragment|JURI-&amp;gt;getFragment]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[Category:Development]][[Category:Framework]]&lt;/del&gt;[[Category:JURI]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;[[Category:JURI]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JoomlaWikiBot</name></author>	</entry>

	<entry>
		<id>http://docs.joomla.org/index.php?title=JURI/setFragment&amp;diff=10754&amp;oldid=prev</id>
		<title>Chris Davenport: New page: Sets the fragment part of the URI represented by the JURI object. ===Syntax=== void setFragment( $anchor )  where: {| class=&quot;wikitable&quot; !Argument !Data type !Description !Default |- |$anch...</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=JURI/setFragment&amp;diff=10754&amp;oldid=prev"/>
				<updated>2008-09-16T21:56:14Z</updated>
		
		<summary type="html">&lt;p&gt;New page: Sets the fragment part of the URI represented by the JURI object. ===Syntax=== void setFragment( $anchor )  where: {| class=&amp;quot;wikitable&amp;quot; !Argument !Data type !Description !Default |- |$anch...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sets the fragment part of the URI represented by the JURI object.&lt;br /&gt;
===Syntax===&lt;br /&gt;
void setFragment( $anchor )&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Argument&lt;br /&gt;
!Data type&lt;br /&gt;
!Description&lt;br /&gt;
!Default&lt;br /&gt;
|-&lt;br /&gt;
|$anchor&lt;br /&gt;
|string&lt;br /&gt;
|Fragment to be added to the URI.  This will replace any existing fragment.&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
In this example, a URI object is created and a fragment is added to it.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$uri = 'http://fredbloggs:itsasecret@www.example.com:8080/path/to/Joomla/index.php?task=view&amp;amp;id=32';&lt;br /&gt;
$u =&amp;amp; JURI::getInstance( $uri );&lt;br /&gt;
echo 'Before: ' . $u-&amp;gt;toString() . &amp;quot;\n&amp;quot;;&lt;br /&gt;
$u-&amp;gt;setFragment( 'anchorthat' );&lt;br /&gt;
echo 'After : ' . $u-&amp;gt;toString();&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
would output&lt;br /&gt;
 Before: http://fredbloggs:itsasecret@www.example.com:8080/path/to/Joomla/index.php?task=view&amp;amp;id=32&lt;br /&gt;
 After : http://fredbloggs:itsasecret@www.example.com:8080/path/to/Joomla/index.php?task=view&amp;amp;id=32#anchorthat&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* [http://api.joomla.org/Joomla-Framework/Environment/JURI.html#setFragment JURI-&amp;gt;setFragment on api.joomla.org]&lt;br /&gt;
* [[JURI/getFragment|JURI-&amp;gt;getFragment]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Development]][[Category:Framework]][[Category:JURI]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chris Davenport</name></author>	</entry>

	</feed>