PluginHelper
class PluginHelper
Plugin helper class
Methods
static
string
getLayoutPath(
string $type,
string $name,
string $layout = 'default')
Get the path to a layout from a Plugin
static
mixed
getPlugin(
string $type,
string $plugin = null)
Get the plugin data of a specific type if no specific plugin is specified otherwise only the specific plugin data is returned.
static
boolean
isEnabled(
string $type,
string $plugin = null)
Checks if a plugin is enabled.
static
boolean
importPlugin(
string $type,
string $plugin = null,
boolean $autocreate = true,
JEventDispatcher $dispatcher = null)
Loads all the plugin files for a particular type if no specific plugin is specified otherwise only the specific plugin is loaded.
Details
static
string
getLayoutPath(
string $type,
string $name,
string $layout = 'default')
Get the path to a layout from a Plugin
static
mixed
getPlugin(
string $type,
string $plugin = null)
Get the plugin data of a specific type if no specific plugin is specified otherwise only the specific plugin data is returned.
static
boolean
importPlugin(
string $type,
string $plugin = null,
boolean $autocreate = true,
JEventDispatcher $dispatcher = null)
Loads all the plugin files for a particular type if no specific plugin is specified otherwise only the specific plugin is loaded.