JPluginHelper::importPlugin

Loads all the plugin files for a particular type if no specific plugin is specified otherwise only the specific plugin is loaded.