API17

API17:JPluginHelper::importPlugin

From Joomla! Documentation

Joomla 11.1 JPluginHelper::importPlugin

Description

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


public static function importPlugin (
        $type
        $plugin=null
        $autocreate=true
        $dispatcher=null
)
Parameter Type Default Description
$type string The plugin type, relates to the sub-directory in the plugins directory.
$plugin string null The plugin name.
$autocreate boolean true
$dispatcher null Optionally allows the plugin to use a different dispatcher.

See also


User contributed notes

Code Examples