<?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=JFactory/getLanguage&amp;feed=atom&amp;action=history</id>
		<title>JFactory/getLanguage - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.joomla.org/index.php?title=JFactory/getLanguage&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=JFactory/getLanguage&amp;action=history"/>
		<updated>2013-05-24T11:43:57Z</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=JFactory/getLanguage&amp;diff=11985&amp;oldid=prev</id>
		<title>Chris Davenport: New page: Returns a reference to the global language object, only creating it if it doesn't already exist.  The object returned will be of type JLanguage. ===Syntax=== object JLanguage getLa...</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=JFactory/getLanguage&amp;diff=11985&amp;oldid=prev"/>
				<updated>2008-11-23T19:51:22Z</updated>
		
		<summary type="html">&lt;p&gt;New page: Returns a reference to the global language object, only creating it if it doesn&amp;#039;t already exist.  The object returned will be of type &lt;a href=&quot;/JLanguage&quot; title=&quot;JLanguage&quot;&gt;JLanguage&lt;/a&gt;. ===Syntax=== object &lt;a href=&quot;/JLanguage&quot; title=&quot;JLanguage&quot;&gt;JLanguage&lt;/a&gt; getLa...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Returns a reference to the global language object, only creating it if it doesn't already exist.  The object returned will be of type [[JLanguage]].&lt;br /&gt;
===Syntax===&lt;br /&gt;
object [[JLanguage]] getLanguage()&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
The following code gets the name of the current language.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$lang =&amp;amp; JFactory::getLanguage();&lt;br /&gt;
echo 'Current language is: ' . $lang-&amp;gt;getName();&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
===See also===&lt;br /&gt;
* [http://api.joomla.org/Joomla-Framework/JFactory.html#getLanguage JFactory-&amp;gt;getLanguage on api.joomla.org]&lt;br /&gt;
* [[JLanguage]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Development]][[Category:Framework]][[Category:JFactory]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chris Davenport</name></author>	</entry>

	</feed>