references:joomla.framework:application:jcomponenthelper-isenabledisEnabled
Checks if the component is enabled. This method returns true if the component is enabled, false otherwise. Extensions are enabled and disabled using the Extension Manager. Syntaxboolean isEnabled ( $name )
ExamplesExample if (JComponentHelper::isEnabled( 'com_weblinks' )) { echo 'The weblinks component is enabled.'; } else { echo 'The component is disabled.'; } might produce Result The weblinks component is enabled. |


