\JPluginHelper
Plugin helper class
Synopsis
class JPluginHelper
{
- // members
- protected $plugins;
- // methods
- public static string getLayoutPath()
- public static mixed getPlugin()
- public static boolean isEnabled()
- public static boolean importPlugin()
- protected static void _import()
- protected static void import()
- protected static array _load()
- protected static array load()
Members
protected
- $plugins
—
array
A persistent cache of the loaded plugins.
Methods
protected
- _import() — Loads the plugin file.
- _load() — Loads the published plugins.
- import() — Loads the plugin file.
- load() — Loads the published plugins.
public
- getLayoutPath() — Get the path to a layout from a Plugin
- getPlugin() — Get the plugin data of a specific type if no specific plugin is specified otherwise only the specific plugin data is returned.
- importPlugin() — Loads all the plugin files for a particular type if no specific plugin is specified otherwise only the specific plugin is loaded.
- isEnabled() — Checks if a plugin is enabled.