Difference between revisions of "JUser::save"
From Joomla! Documentation
m (clean up) |
m (preparing for archive only) |
||
Line 4: | Line 4: | ||
Method to save the object to the database. | Method to save the object to the database. | ||
− | + | ||
<source lang="php"> | <source lang="php"> | ||
Line 30: | Line 30: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_User|User]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_User|User]] | ||
* [[API17:JUser::save|Other versions of JUser::save]] | * [[API17:JUser::save|Other versions of JUser::save]] | ||
− | + | ||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JUser::save | category=JUser::save | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* |
Latest revision as of 22:55, 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.
JUser::save[edit]
Description[edit]
Method to save the object to the database.
public function save ($updateOnly=false)
Parameter | Type | Default | Description |
---|---|---|---|
$updateOnly | boolean | false | Save the object only if not a new user |
See also[edit]
- JUser::save source code on BitBucket
- Class JUser
- Subpackage User
- Other versions of JUser::save
User contributed notes[edit]
Code Examples[edit]