API17

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.  
  
{{subst:Description:JUser::save}}
+
 
  
 
<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]]
{{subst:SeeAlso:JUser::save}}
+
 
  
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JUser::save
 
category=JUser::save
category=CodeExample
+
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.

Joomla 11.1 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
  • Returns boolean True on success
  • Defined on line 595 of libraries/joomla/user/user.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]