API17

API17:JPluginHelper:: import

From Joomla! Documentation

Joomla 11.1 JPluginHelper::_import

Description

Loads the plugin file.


protected static function _import (
        &$plugin
        $autocreate=true
        $dispatcher=null
)
Parameter Type Default Description
&$plugin $plugin The plugin.
$autocreate boolean true
$dispatcher null Optionally allows the plugin to use a different dispatcher.
  • Returns boolean True on success.
  • Defined on line 129 of libraries/joomla/plugin/helper.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples