Get the plugin data of a specific type if no specific plugin is specified otherwise only the specific plugin data is returned.
static
mixed
getPlugin
(string $type, [string $plugin = null])
-
string
$type: The plugin type, relates to the sub-directory in the plugins directory.
-
string
$plugin: The plugin name.
Loads all the plugin files for a particular type if no specific plugin is specified otherwise only the specific plugin is loaded.
static
boolean
importPlugin
(
string $type, [
string $plugin =
null], [
boolean $autocreate =
true], [
JDispatcher $dispatcher =
null])
-
string
$type: The plugin type, relates to the sub-directory in the plugins directory.
-
string
$plugin: The plugin name.
-
boolean
$autocreate: Autocreate the plugin.
-
JDispatcher
$dispatcher: Optionally allows the plugin to use a different dispatcher.
Checks if a plugin is enabled.
static
boolean
isEnabled
(string $type, [string $plugin = null])
-
string
$type: The plugin type, relates to the sub-directory in the plugins directory.
-
string
$plugin: The plugin name.
Loads the plugin file.
static
boolean
_import
(
JPlugin &$plugin, [
boolean $autocreate =
true], [
JDispatcher $dispatcher =
null])
-
JPlugin
&$plugin: The plugin.
-
boolean
$autocreate: True to autocreate.
-
JDispatcher
$dispatcher: Optionally allows the plugin to use a different dispatcher.
Loads the published plugins.
static
array
_load
()