class CPluginHelper extends JPluginHelper


Located at : UKNOWVA_ROOT/components/com_community/helpers/plugins.php

Methods

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, JDispatcher $dispatcher = null)

Loads all the plugin files for a particular type if no specific plugin is specified otherwise only the specific pugin is loaded.

getPluginPath($type, $plugin = null)

No description

getPluginURI($type, $plugin = null)

No description

Details

in JPluginHelper at line 32
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.

Parameters

string $type The plugin type, relates to the sub-directory in the plugins directory.
string $plugin The plugin name.

Return Value

mixed An array of plugin data objects, or a plugin data object.

in JPluginHelper at line 68
static boolean isEnabled(string $type, string $plugin = null)

Checks if a plugin is enabled.

Parameters

string $type The plugin type, relates to the sub-directory in the plugins directory.
string $plugin The plugin name.

Return Value

boolean

in JPluginHelper at line 87
static boolean importPlugin(string $type, string $plugin = null, boolean $autocreate = true, JDispatcher $dispatcher = null)

Loads all the plugin files for a particular type if no specific plugin is specified otherwise only the specific pugin is loaded.

Parameters

string $type The plugin type, relates to the sub-directory in the plugins directory.
string $plugin The plugin name.
boolean $autocreate
JDispatcher $dispatcher Optionally allows the plugin to use a different dispatcher.

Return Value

boolean True on success.

at line 16
getPluginPath($type, $plugin = null)

Parameters

$type
$plugin

at line 30
getPluginURI($type, $plugin = null)

Parameters

$type
$plugin