API17:JPlugin:: construct
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JPlugin::__construct|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JPlugin::__construct|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function __construct ( |
| + | &$subject | ||
| + | $config=array | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' | |
| − | + | * '''Defined''' on line 56 of libraries/joomla/plugin/plugin.php | |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/plugin/plugin.php | + | |
| − | + | ||
===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> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 52: | 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 21:29, 27 April 2011
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.
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). |
See also
-
JPlugin::__construct source code on BitBucket
-
Class JPlugin
-
Subpackage Plugin
- Other versions of JPlugin::__construct
SeeAlso:JPlugin:: construct [Edit See Also]
User contributed notes
<CodeExamplesForm />
