JPlugin
JPlugin Class
Located in /joomla/plugin/plugin.php (line 28)
JObject (Subpackage Base)
![]()
JObserver (Subpackage Base)
![]()
JEvent (Subpackage Event)
![]()
JPlugin (Subpackage Plugin)
A
$params
= null (line 37)
A JParameter object holding the parameters for the plugin
sring
$_name
= null (line 45)
The name of the plugin
string
$_type
= null (line 53)
The plugin type
Inherited Variables
Inherited from JObject
JObject::$_errors
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.
- 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
- &$subject
- $config
- JObserver::__construct()
- Constructor
Loads the plugin language file
- 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()




