API15

API15:JPlugin/JPlugin

From Joomla! Documentation

Description

Constructor

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

JPlugin(&$subject, $config=array())
Parameter Name Default Value Description
&$subject $subject The object to observe
$config array() $config An optional associative array of configuration settings. Recognized key values include 'name', 'group', 'params' (this list is not meant to be comprehensive).

Defined in

libraries/joomla/plugin/plugin.php

Importing

jimport( 'joomla.plugin.plugin' );

Source Body

function JPlugin(& $subject, $config = array())  {
        parent::__construct($subject);
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples