API17:JTableUser::load
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JTableUser::load|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JTableUser::load|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function load ( |
| + | $userId=null | ||
| + | $reset=true | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' boolean True on success, false on failure. | |
| − | boolean True on success, false on failure. | + | * '''Defined''' on line 52 of libraries/joomla/database/table/user.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/database/table/user.php | + | |
| − | * | + | |
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JTableUser::load source code''' on [[jplatform:database/table/user.php#cl-44|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JTableUser/11.1|JTableUser]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]] | ||
| + | * [[JTableUser::load|Other versions of JTableUser::load]] | ||
| + | {{SeeAlso:JTableUser::load}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JTableUser::load|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JTableUser::load|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 53: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JTableUser]][[Category:JTableUser::load]]</noinclude> | <noinclude>[[Category:JTableUser]][[Category:JTableUser::load]]</noinclude> | ||
Revision as of 21:50, 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.
JTableUser::load
Description
Method to load a user, user groups, and any other necessary data from the database so that it can be bound to the user object.
Description:JTableUser::load [Edit Descripton]
public function load ( $userId=null $reset=true )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $userId | integer | null | An optional user id. |
| $reset | true |
- Returns boolean True on success, false on failure.
- Defined on line 52 of libraries/joomla/database/table/user.php
- Since
See also
-
JTableUser::load source code on BitBucket
-
Class JTableUser
-
Subpackage Database
- Other versions of JTableUser::load
SeeAlso:JTableUser::load [Edit See Also]
User contributed notes
<CodeExamplesForm />
