Difference between revisions of "JTableUser::load"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
(One intermediate revision by the same user not shown) | |||
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 52: | 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
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JTableUser::load[edit]
Description[edit]
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.
Template: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[edit]
- JTableUser::load source code on BitBucket
- Class JTableUser
- Subpackage Database
- Other versions of JTableUser::load
Template:SeeAlso:JTableUser::load [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />