JUser:: construct: Difference between revisions
From Joomla! Documentation
Layout updates |
Updated to r1448:247ba8d88526 |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JUser::__construct|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JUser::__construct|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
<source lang="php"> | <source lang="php"> | ||
public | public function __construct ($identifier=0) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 27: | Line 24: | ||
|- | |- | ||
|} | |} | ||
* '''Returns''' | |||
* '''Defined''' on line 161 of libraries/joomla/user/user.php | |||
* '''Since''' {{JVer|11.1 }} | |||
libraries/joomla/user/user.php | |||
* | |||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JUser::__construct source code''' on [[jplatform:user/user.php#cl-153|BitBucket]] | |||
* {{JVer|11.1}} Class [[JUser/11.1|JUser]] | |||
* {{JVer|11.1}} Subpackage [[Subpackage_User/11.1|User]] | |||
* [[JUser::__construct|Other versions of JUser::__construct]] | |||
{{SeeAlso:JUser::__construct}} | |||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JUser::__construct|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JUser::__construct|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
===User contributed notes=== | |||
=== | |||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 48: | Line 44: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JUser]][[Category:JUser::__construct]]</noinclude> | <noinclude>[[Category:JUser]][[Category:JUser::__construct]]</noinclude> | ||
Revision as of 02:54, 28 April 2011
JUser::__construct
Description
Constructor activating the default information of the language.
Template:Description:JUser:: construct [Edit Descripton]
public function __construct ($identifier=0)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $identifier | int | 0 | The primary key of the user to load (optional). |
See also
JUser::__construct source code on BitBucket
Class JUser
Subpackage User- Other versions of JUser::__construct
Template:SeeAlso:JUser:: construct [Edit See Also]
User contributed notes
<CodeExamplesForm />