API17

Difference between revisions of "JUser::setLastVisit"

From Joomla! Documentation

m (→‎User contributed notes: moving preparation)
m (preparing for archive only)
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Pass through method to the table for setting the last visit date.  
 
Pass through method to the table for setting the last visit date.  
  
{{Description:JUser::setLastVisit}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JUser::setLastVisit|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public function setLastVisit ($timestamp=null)
 
public function setLastVisit ($timestamp=null)
Line 29: Line 27:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JUser::setLastVisit source code''' on [[jplatform:user/user.php#cl-383|BitBucket]]
 
* {{JVer|11.1}} '''JUser::setLastVisit source code''' on [[jplatform:user/user.php#cl-383|BitBucket]]
* {{JVer|11.1}} Class [[JUser/11.1|JUser]]
+
* {{JVer|11.1}} Class [[API17:JUser|JUser]]
* {{JVer|11.1}} Subpackage [[Subpackage_User/11.1|User]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_User|User]]
* [[JUser::setLastVisit|Other versions of JUser::setLastVisit]]
+
* [[API17:JUser::setLastVisit|Other versions of JUser::setLastVisit]]
{{SeeAlso:JUser::setLastVisit}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JUser::setLastVisit|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JUser::setLastVisit
 
category=JUser::setLastVisit
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::setLastVisit[edit]

Description[edit]

Pass through method to the table for setting the last visit date.


public function setLastVisit ($timestamp=null)
Parameter Type Default Description
$timestamp int null The timestamp, defaults to 'now'.
  • Returns boolean True on success.
  • Defined on line 391 of libraries/joomla/user/user.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]