Get the path to a layout from a Plugin
static string
getLayoutPath
(string $type, string $name, [string $layout = 'default'])
-
string
$type: Plugin type
-
string
$name: Plugin name
-
string
$layout: Layout name
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 the plugin file.
static void
import
(object $plugin, [boolean $autocreate = true], [JEventDispatcher $dispatcher = null])
-
object
$plugin: The plugin.
-
boolean
$autocreate: True to autocreate.
-
JEventDispatcher
$dispatcher: Optionally allows the plugin to use a different dispatcher.
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], [JEventDispatcher $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.
-
JEventDispatcher
$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 published plugins.
static array
load
()
Loads the plugin file.
static void
_import
(object $plugin, [boolean $autocreate = true], [JEventDispatcher $dispatcher = null])
-
object
$plugin: The plugin.
-
boolean
$autocreate: True to autocreate.
-
JEventDispatcher
$dispatcher: Optionally allows the plugin to use a different dispatcher.
Loads the published plugins.
static array
_load
()