Difference between revisions of "JTableUser::load"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (preparing for archive only) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
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. | 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. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function load ( |
+ | $userId=null | ||
+ | $reset=true | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 30: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''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 [[API17:JTableUser|JTableUser]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | |
− | * | + | * [[API17:JTableUser::load|Other versions of JTableUser::load]] |
− | * [[JTableUser::load|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JTableUser::load | category=JTableUser::load | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:51, 24 March 2017
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.
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
User contributed notes[edit]
Code Examples[edit]