[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/libraries/joomla/plugin/ -> helper.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
License: GNU/GPL, see LICENSE.php
Version: $Id: helper.php 17261 2010-05-25 15:06:51Z ian $
File Size: 205 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

JPluginHelper:: (5 methods):
  getPlugin()
  isEnabled()
  importPlugin()
  _import()
  _load()


Class: JPluginHelper  - X-Ref

Plugin helper class

getPlugin($type, $plugin = null)   X-Ref
Get the plugin data of a specific type if no specific plugin is specified
otherwise only the specific plugin data is returned

param: string     $type     The plugin type, relates to the sub-directory in the plugins directory
param: string     $plugin    The plugin name
return: mixed     An array of plugin data objects, or a plugin data object

isEnabled( $type, $plugin = null )   X-Ref
Checks if a plugin is enabled

param: string     $type     The plugin type, relates to the sub-directory in the plugins directory
param: string     $plugin    The plugin name
return: boolean

importPlugin($type, $plugin = null, $autocreate = true, $dispatcher = null)   X-Ref
Loads all the plugin files for a particular type if no specific plugin is specified
otherwise only the specific pugin is loaded.

param: string     $type     The plugin type, relates to the sub-directory in the plugins directory
param: string     $plugin    The plugin name
return: boolean True if success

_import( &$plugin, $autocreate = true, $dispatcher = null )   X-Ref
Loads the plugin file

return: boolean True if success

_load()   X-Ref
Loads the published plugins




Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1