API17

JPluginHelper::importPlugin

From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JPluginHelper::importPlugin[edit]

Description[edit]

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[edit]


User contributed notes[edit]

Code Examples[edit]