Actions

API17

Difference between revisions of "JPlugin:: construct"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JPlugin::__construct|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JPlugin::__construct|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JPlugin::__construct (&$subject, $config=array())
+
public function __construct (
 +
        &$subject
 +
        $config=array
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 56 of libraries/joomla/plugin/plugin.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/plugin/plugin.php (line 59)
+
* see source code in [[jplatform:plugin/plugin.php#cl-59|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JPlugin::__construct source code''' on [[jplatform:plugin/plugin.php#cl-48|BitBucket]]
 +
* {{JVer|11.1}} Class [[JPlugin/11.1|JPlugin]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Plugin/11.1|Plugin]]
 +
* [[JPlugin::__construct|Other versions of JPlugin::__construct]]
 +
{{SeeAlso:JPlugin::__construct}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JPlugin::__construct|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JPlugin::__construct|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JPlugin/11.1|JPlugin]]
+
===User contributed notes===
* [[JPlugin::__construct|Other versions of this method]]
+
{{SeeAlso:JPlugin::__construct}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 52:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JPlugin]][[Category:JPlugin::__construct]]</noinclude>
 
<noinclude>[[Category:JPlugin]][[Category:JPlugin::__construct]]</noinclude>

Revision as of 20:29, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JPlugin::__construct

Description

Constructor.

Description:JPlugin:: construct [Edit Descripton]

public function __construct (
        &$subject
        $config=array
)
Parameter Type Default Description
&$subject object $subject The object to observe
$config array array() An optional associative array of configuration settings. Recognized key values include 'name', 'group', 'params', 'language' (this list is not meant to be comprehensive).
  • Returns
  • Defined on line 56 of libraries/joomla/plugin/plugin.php
  • Since Joomla 11.1

See also

SeeAlso:JPlugin:: construct [Edit See Also]

User contributed notes

<CodeExamplesForm />