API17

Difference between revisions of "JPluginHelper::importPlugin"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JPluginHelper::importPlugin/11.1 to API17:JPluginHelper::importPlugin without leaving a redirect: Robot: Moved page)
(No difference)

Revision as of 20:11, 10 May 2013

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.

Template:Description:JPluginHelper::importPlugin [Edit Descripton]

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]

Template:SeeAlso:JPluginHelper::importPlugin [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />