<?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=JModuleHelper/isEnabled&amp;feed=atom&amp;action=history</id>
		<title>JModuleHelper/isEnabled - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docs.joomla.org/index.php?title=JModuleHelper/isEnabled&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=JModuleHelper/isEnabled&amp;action=history"/>
		<updated>2013-05-24T02:35:39Z</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=JModuleHelper/isEnabled&amp;diff=13115&amp;oldid=prev</id>
		<title>Chris Davenport: New page: Returns '''true''' if there is at least one module of the given name/type available; returns '''false''' otherwise.  To return '''true''' there must be at least one module that satisfies t...</title>
		<link rel="alternate" type="text/html" href="http://docs.joomla.org/index.php?title=JModuleHelper/isEnabled&amp;diff=13115&amp;oldid=prev"/>
				<updated>2009-02-07T19:52:16Z</updated>
		
		<summary type="html">&lt;p&gt;New page: Returns &amp;#039;&amp;#039;&amp;#039;true&amp;#039;&amp;#039;&amp;#039; if there is at least one module of the given name/type available; returns &amp;#039;&amp;#039;&amp;#039;false&amp;#039;&amp;#039;&amp;#039; otherwise.  To return &amp;#039;&amp;#039;&amp;#039;true&amp;#039;&amp;#039;&amp;#039; there must be at least one module that satisfies t...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Returns '''true''' if there is at least one module of the given name/type available; returns '''false''' otherwise.  To return '''true''' there must be at least one module that satisfies the following criteria:&lt;br /&gt;
* it is enabled;&lt;br /&gt;
* it is assigned to the current menu item or is assigned to all menu items;&lt;br /&gt;
* the user meets the access level requirements.&lt;br /&gt;
&lt;br /&gt;
===Syntax===&lt;br /&gt;
''boolean'' isEnabled( $module )&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;
|$name&lt;br /&gt;
|string&lt;br /&gt;
|The name/type of the module.  For example, 'login' for the login form module.  Will also return '''true''' if the module is not found and the 'mod_' prefix has been used.&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
===Example===&lt;br /&gt;
Determine if the login form module is available.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
jimport( 'joomla.application.module.helper' );&lt;br /&gt;
$login = JModuleHelper::isEnabled( 'login' );&lt;br /&gt;
echo ($login) ? 'Login module is available' : 'Login module is not available';&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
===See also===&lt;br /&gt;
* [http://api.joomla.org/Joomla-Framework/Application/JModuleHelper.html#isEnabled JModuleHelper::isEnabled on api.joomla.org]&lt;br /&gt;
* [[JModuleHelper/getModule|JModuleHelper::getModule]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Development]][[Category:Framework]][[Category:JModuleHelper]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Chris Davenport</name></author>	</entry>

	</feed>