JPlugin
Description
JPlugin Class
Located in /joomla/plugin/plugin.php (line 29)
JObject (Subpackage Base)
![]()
JObserver (Subpackage Base)
![]()
JEvent (Subpackage Event)
![]()
JPlugin (Subpackage Plugin)
Method Summary
Variables
A
$params
= null (line 38)
A JParameter object holding the parameters for the plugin
sring
$_name
= null (line 46)
The name of the plugin
string
$_type
= null (line 54)
The plugin type
Inherited Variables
Inherited from JObject
JObject::$_errors
Methods
Constructor
For php4 compatability we must not use the __constructor as a constructor for plugins because func_get_args ( void ) returns a copy of all passed arguments NOT references. This causes problems with cross-referencing necessary for the observer design pattern.
JPlugin
JPlugin
( &$subject, [array $config = array()], object $subject)
- object $subject: The object to observe
- array $config: An optional associative array of configuration settings. Recognized key values include 'name', 'group', 'params' (this list is not meant to be comprehensive).
- &$subject
Constructor
JPlugin
__construct
( &$subject, [ $config = array()])
- &$subject
- $config
Redefinition of:
- JObserver::__construct()
- Constructor
Loads the plugin language file
boolean
loadLanguage
([string $extension = ''], [string $basePath = JPATH_BASE])
- string $extension: The extension for which a language file should be loaded
- string $basePath: The basepath to use
Inherited Methods
Inherited From JEvent
JEvent::JEvent()
JEvent::update()
Inherited From JObserver
JObserver::__construct()
JObserver::update()
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::getPublicProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
Documentation generated on Tue, 29 Jan 2008 18:49:55 +0000 by phpDocumentor 1.3.1



