<?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/getInstance&amp;feed=atom&amp;action=history</id>
		<title>JURI/getInstance - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.joomla.org/index.php?title=JURI/getInstance&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=JURI/getInstance&amp;action=history"/>
		<updated>2013-05-24T04:56: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/getInstance&amp;diff=70848&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/getInstance&amp;diff=70848&amp;oldid=prev"/>
				<updated>2012-08-09T16:33:21Z</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:33, 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 36:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 36:&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#getInstance JURI-&amp;gt;getInstance 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#getInstance JURI-&amp;gt;getInstance 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;* [[JFactory/getURI|JFactory::getURI]]&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;* [[JFactory/getURI|JFactory::getURI]]&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/getInstance&amp;diff=10778&amp;oldid=prev</id>
		<title>Chris Davenport: New page: Static method which either returns a reference to the global JURI object, only creating it if it doesn't already exist, or which creates a new object representing the URI passed to it as a...</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=JURI/getInstance&amp;diff=10778&amp;oldid=prev"/>
				<updated>2008-09-17T10:27:33Z</updated>
		
		<summary type="html">&lt;p&gt;New page: Static method which either returns a reference to the global JURI object, only creating it if it doesn&amp;#039;t already exist, or which creates a new object representing the URI passed to it as a...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Static method which either returns a reference to the global JURI object, only creating it if it doesn't already exist, or which creates a new object representing the URI passed to it as a parameter. The global URI object represents the URI that caused the current page to be rendered.&lt;br /&gt;
===Syntax===&lt;br /&gt;
object &amp;amp;getInstance( $uri )&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;
|$uri&lt;br /&gt;
|string&lt;br /&gt;
|URI to be represented by the JURI object.  If this is 'SERVER' then the request URI is assumed.&lt;br /&gt;
|'SERVER'&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Example 1===&lt;br /&gt;
In this example, a URI object is created and then converted back to string form.&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#anchorthis';&lt;br /&gt;
$u =&amp;amp; JURI::getInstance( $uri );&lt;br /&gt;
echo 'URI is ' . $u-&amp;gt;toString() . &amp;quot;\n&amp;quot;;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
would output&lt;br /&gt;
 URI is http://fredbloggs:itsasecret@www.example.com:8080/path/to/Joomla/index.php?task=view&amp;amp;id=32#anchorthis&lt;br /&gt;
===Example 2===&lt;br /&gt;
To obtain the current request URI this method can be called with no arguments.  This has the same effect as calling JFactory::getURI().&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$u =&amp;amp; JURI::getInstance();&lt;br /&gt;
echo 'Request URI is ' . $u-&amp;gt;toString() . &amp;quot;\n&amp;quot;;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
might output&lt;br /&gt;
 Request URI is http://localhost/joomla/index.php?option=com_content&amp;amp;view=article&amp;amp;id=1&amp;amp;Itemid=50&lt;br /&gt;
===See also===&lt;br /&gt;
* [http://api.joomla.org/Joomla-Framework/Environment/JURI.html#getInstance JURI-&amp;gt;getInstance on api.joomla.org]&lt;br /&gt;
* [[JFactory/getURI|JFactory::getURI]]&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>